New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance degradation in Dartium b/w 0.8.7 and 0.8.5 Dart releases (8x on sunflower demo) on Windows #14642
Comments
aprelev: some questions:
|
This comment was originally written by @aam Vijay, it's W8.1 64-bit. === packages/browser/dart.js === |
aprelev: I wasn't able to recreate. Can you retry with the latest? We've merged in several upstream Chrome fixes. |
Added this to the Later milestone. |
This comment was originally written by @aam Vijay, same slow performance in Chromium 31.0.1650.39 (1593) packaged with Dart 1.0.0.3_r30187: |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This issue was originally filed by @aam
There is visible degradation in performance of Dartium b/w 0.8.7 and 0.8.5 releases of Dart Editor.
To measure it I modified sunflower.dart so it draws 100 sunflowers size of 1900 to 2000 dots and exits.
0.8.5 version of Dartium exists in 2 seconds, 0.8.7 - in 17 seconds.
PS C:\g\dart-repo\dart> (measure-command {cmd /c C:\dart.28990\chromium\chrome.exe file:///C:/dart/sunflower/web/sunflower.html}).totalseconds
2.0040431
PS C:\g\dart-repo\dart> (measure-command {cmd /c C:\dart.29341\chromium\chrome.exe file:///C:/dart/sunflower/web/sunflower.html}).totalseconds
17.1227792
C:>diff sunflower-original\web\sunflower.html sunflower\web\sunflower.html
--- sunflower-original\web\sunflower.html Thu Oct 31 00:26:38 2013
+++ sunflower\web\sunflower.html Thu Oct 31 00:32:19 2013
@@ -16,9 +16,9 @@
<p>A canvas 2D demo.</p>
<div id="container">
<br/>
<img src="math.png" width="350px" height="42px" class="center">
C:>diff sunflower-original\web\sunflower.dart sunflower\web\sunflower.dart
--- sunflower-original\web\sunflower.dart Thu Oct 31 00:26:38 2013
+++ sunflower\web\sunflower.dart Thu Oct 31 00:25:30 2013
@@ -11,7 +11,7 @@
const int SEED_RADIUS = 2;
const int SCALE_FACTOR = 4;
const num TAU = PI * 2;
-const int MAX_D = 300;
+const int MAX_D = 600;
const num centerX = MAX_D / 2;
const num centerY = centerX;
@@ -23,8 +23,14 @@
(querySelector("#canvas") as CanvasElement).context2D;
void main() {
}
/// Draw the complete figure for the current number of seeds.
The text was updated successfully, but these errors were encountered: