dart-pad icon indicating copy to clipboard operation
dart-pad copied to clipboard

Dart pad slowed down.

Open nero-angela opened this issue 1 year ago • 6 comments

What happened?

It's not a huge problem, but I'm reporting that DartPad seems to be slowing down. When I run the following DartPad, a few months ago I got results around 600ms and 300ms, but when I ran the same code recently I got results of 2900ms and 1000ms. Results are three times slower than before.

Steps to reproduce problem

Additional info

Today

today dart pad result

Past

past dart pad result

Browser

Browser: Chrome Version: 112.0.5615.137

It is the same even if I turn off all AdBloc plug-ins and run it, and there is no error in the console.

Machine

Operating system: MacOS Ventura Version: 13.1

nero-angela avatar Apr 25 '23 08:04 nero-angela

What are you attempting to measure here?

domesticmouse avatar Apr 25 '23 09:04 domesticmouse

What are you attempting to measure here?

This code was created to measure the execution time of synchronously and asynchronously executed codes, but I reported it because the results seemed to be very slow unlike before.

nero-angela avatar Apr 25 '23 09:04 nero-angela

I doubt this is dartpad specific and instead should be reported to the flutter/flutter issue tracker.

domesticmouse avatar Apr 25 '23 13:04 domesticmouse

Since I registered an issue in the flutter project, I will close this issue.

nero-angela avatar Apr 26 '23 03:04 nero-angela

Re-opening as this isn't a Flutter issue.

domesticmouse avatar Apr 26 '23 06:04 domesticmouse

I believe this is related to https://github.com/dart-lang/dart-pad/issues/2489, potentially a dupe.

domesticmouse avatar Apr 26 '23 06:04 domesticmouse