-
Notifications
You must be signed in to change notification settings - Fork 19
Benchmarks #3
Comments
Should we bump up the cronet version to the latest for a better QUIC support? |
Version Info
Report 1Environment Performance (JIT Mode) Cronet: So, we can see that Note: These are average values derived by running the benchmarking script 5 times. Performance (AOT Mode) Cronet: So, we can see that Note: These are average values derived by running the benchmarking script 5 times. |
Report 2I'm surprised (and confused) by the outcome. Environment Performance (JIT Mode)
Performance (AOT Mode)
I tested this again. And, almost similar result came up. Shocked. Not because of |
Well, time to dig into what is going on.
Sometimes in JIT we can do speculative optimizations that the AOT cannot do. But 202 -> 270 seconds is surprising. Another hypothesis is that we copy data multiple times in the package:cronet implementation but not in the dart:io implementation. All the surprise means we're going to learn something! 🦀 |
No. CPU isn't getting fully utilized. I tested again. For Cronet AOT, time got reduced to |
I want to hear more about this. Tell me about this when you'll have less workload.
Can be a reason.
Excited 😄 |
Report 3Here we go again ᕕ( ᐛ )ᕗ with another report. Environment Performance (JIT) Performance (AOT) This time, |
Report 4 (Throughput)Environment Target Time Duration: 1 second. Performance (JIT) Performance (AOT) So, in terms of concurrent requests, Report 5 (Throughput)Environment Target Time Duration: 1 second. Performance (JIT) Performance (AOT) So, by pinging a remote server we observe that, |
We should get an understanding of how
package:cronet
stacks up againstdart:io
. Cronet is not integrated into the Dart VM which might create some overhead. On the other hand Cronet provides HTTP 2 and QUIC.We should add a
benchmarks/
folder. Some inspiration from setting up benchmarks can be done from https://github.com/dart-lang/sdk/blob/master/benchmarks/MapLookup/dart/MapLookup.dart.We are interested in multiple dimensions:
dart ...
) and AOT (dart compile exe ...
).The text was updated successfully, but these errors were encountered: