Skip to content
Permalink
Browse files

Add -O4 flag that changes speedtest from 31 seconds to 0.9 seconds.

  • Loading branch information...
NeilFraser committed Apr 17, 2019
1 parent c01ce1c commit a6367d7866833ac037fbdefcdbcbee4def86e326
Showing with 1 addition and 1 deletion.
  1. +1 −1 dart/tests/Speedtest.dart
@@ -2,7 +2,7 @@ import 'dart:html';
import '../DiffMatchPatch.dart';

// Compile with:
// dart2js --out=Speedtest.dart.js Speedtest.dart
// dart2js -O4 --out=Speedtest.dart.js Speedtest.dart

void launch(Event e) {
HtmlElement input1 = document.getElementById('text1');

0 comments on commit a6367d7

Please sign in to comment.
You can’t perform that action at this time.