Re:Programming language comparison by reimplementing the sam...
by di4na on Sunday October 23, 2022 @03:29PM
(#33309528)
Are you on OTP 25 ? With the JIT, in theory Jason is faster than Jiffy
[ Parent
| on HN ]
Re:Programming language comparison by reimplementing the sam...
by di4na on Sunday October 23, 2022 @03:32PM
(#33309548)
Another thing to add, do you log things in the other languages ? If not, what you are probably benchmarking there is how fast your console is in receiving the text (with a lock).
Also use a release, it will help some things here, especially on "short" benchmark, and make sure that the JIT is run.
Re:Programming language comparison by reimplementing the sam...
by losvedir on Sunday October 23, 2022 @03:50PM
(#33309688)
Yep, Elixir 1.14, OTP 25. I set the log level to warn so Phoenix isn't logging anything that I see. Do you think that still impacts performance? I thought Logger compiled out log calls below the level threshold.
Good call on running as a release! I'll try that next.