Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixes for pkg:web 0.3.0
  • Loading branch information
kevmoo committed Dec 6, 2023
commit e92b7f1fe8ff202c5a06549a0cf5d7ec6e4736c9
4 changes: 3 additions & 1 deletion packages/web_benchmarks/lib/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ void _printResultsToScreen(Profile profile) {
profile.scoreData.forEach((String scoreKey, Timeseries timeseries) {
body.appendHtml('<h2>$scoreKey</h2>');
body.appendHtml('<pre>${timeseries.computeStats()}</pre>');
body.append(TimeseriesVisualization(timeseries).render() as JSObject);
// TODO(kevmoo): remove `NodeClue` cast when we no longer need to support
// pkg:web 0.3.0
html.NodeGlue(body).append(TimeseriesVisualization(timeseries).render());
});
}

Expand Down