Last active
December 23, 2022 18:35
-
-
Save kakilangit/797b6ae6291c1bd7712c to your computer and use it in GitHub Desktop.
Pony VS Golang Thread Ring Benchmarks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Rule: http://benchmarksgame.alioth.debian.org/u32/performance.php?test=threadring#about | |
## Source Code: https://github.com/kakilangit/benchmarks/tree/master/thread-ring | |
# Model Name: MacBook Pro | |
# Model Identifier: MacBookPro11,1 | |
# Processor Name: Intel Core i5 | |
# Processor Speed: 2.6 GHz | |
# Number of Processors: 1 | |
# Total Number of Cores: 2 | |
#pass=50.000.000 threads/actors/goroutines=503 | |
#Pony | |
time ./thread-ring -pass 50000000 -thread 503 | |
292 | |
real 0m10.936s | |
user 0m21.151s | |
sys 0m0.389s | |
#Golang | |
time ./go-ring -pass 50000000 -thread 503 | |
292 | |
real 0m6.909s | |
user 0m6.900s | |
sys 0m0.010s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment