Unverified Commit 822632b5 authored by Zachary Anderson's avatar Zachary Anderson Committed by GitHub

Revert "flutter tool: log dart2wasm vs dart2js as appropriate during build" (#124305)

Revert "flutter tool: log dart2wasm vs dart2js as appropriate during build"
parent 419c1ebc
......@@ -119,11 +119,7 @@ class WebBuilder {
} finally {
status.stop();
}
_flutterUsage.sendTiming(
'build',
isWasm ? 'dart2wasm' : 'dart2js',
Duration(milliseconds: sw.elapsedMilliseconds),
);
_flutterUsage.sendTiming('build', 'dart2js', Duration(milliseconds: sw.elapsedMilliseconds));
}
}
......
......@@ -78,7 +78,7 @@ void main() {
// Sends timing event.
final TestTimingEvent timingEvent = testUsage.timings.single;
expect(timingEvent.category, 'build');
expect(timingEvent.variableName, 'dart2wasm');
expect(timingEvent.variableName, 'dart2js');
});
testUsingContext('WebBuilder throws tool exit on failure', () async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment