You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize this will sound silly. Of course a Raspberry Pi will run Dart slower than, say, a MacBook Pro. I'm about 90% sure the difference is entirely reasonable given the limitations of the device.
That said, here are a few things to note, just in case there is something going on here after all:
Subjectively & anecdotally, the speed difference for Python on a Mac vs Raspberry Pi is smaller than the difference for Dart between those two devices
I'm talking about the beefiest Raspberry Pi on the market at the moment, which is model 4B with a Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz and 8GB LPDDR4-3200 SDRAM.
I'm comparing to an M1 MacBook Pro, which is also an ARM SoC (though obviously beefier), with 16GB RAM. That device already runs Dart significantly slower than an Intel-based machine, because it runs via Rosetta 2 (see Dart SDK support for macOS arm64 (Apple Silicon) #42773).
I'm talking about single-thread performance.
The tests below are not hitting thermal throttling (RPi reports temperature at about 60 C).
Here are some random, completely unscientific numbers:
I realize this will sound silly. Of course a Raspberry Pi will run Dart slower than, say, a MacBook Pro. I'm about 90% sure the difference is entirely reasonable given the limitations of the device.
That said, here are a few things to note, just in case there is something going on here after all:
Here are some random, completely unscientific numbers:
test
executabledart run test
in egbdart compile exe
of benchmark aboveOnce again, not sure if these numbers differ from reasonable expectations at all.
Possibly related: #34172.
Dart SDK Version (
dart --version
)The text was updated successfully, but these errors were encountered: