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
Benchmark compare to Tomorrowland #16
Comments
Sure, feel free to provide corresponding code snippets for our Objective-C and Swift performance tests that would use Tomorrowland instead. We're happy to run them and provide the results. Methodology is fairly simple: we ran each test individually on a device several times, then find the average. |
Ok I've ported your performance tests to Tomorrowland: Gist. |
Incidentally it might be nice to have a performance test that tests how the promise performs when under heavy contention from multiple threads (e.g. adding observers from multiple threads simultaneously). A bit esoteric use-case to be sure, but still interesting. |
That kind of test case may be useful, feel free to contribute! 1 chained then: 0.000031538 |
You closed this issue but https://github.com/google/promises/blob/master/g3doc/index.md#benchmark still doesn't list Tomorrowland. |
Hi Kevin, we're currently exploring Attabench and other similar platforms to run performance tests automatically and independently, so will follow up once that's ready. |
Could you add Tomorrowland to the benchmarks? I'm curious how it stacks up, since Tomorrowland uses atomics internally instead of locks/queues.
I'd also love to see your benchmark methodology. I see benchmarks for Promises in the repo, but no information on how you collected numbers for the other frameworks.
The text was updated successfully, but these errors were encountered: