speed-comparison
speed-comparison copied to clipboard
A repo which compares the speed of different programming languages.
Contributing and helping you fix your readme ;)
Putting the code in a function means that you get type stability dropping the time down to 145 ms on my computer.
I have simplified the code. Now both C and C++ implementations are about 28% faster than previous implementations. Everything is well commented as well. On top of that, I have...
I tried to implement an example for Elixir similar to the other implementations. But due to problems with the current Dockerfile i didn't update the Results section or the speed-comparison...
For the rust compiler you are using `export RUST_BACKTRACE=1`. This is intended for debugging purposes and adds an unnecessary overhead. I would recommend removing it. 👍
I think the benchmark should be run under compilation optimization. But it seems that C 、Rust 、Nim or some other languages did not do this. So, there is no wonder...
In Julia you need to insert the code within a function. Doing so makes the code much faster. And you shouldn't have to include the first time execution time. This...
pascal
Could I offer a Pascal version of this code? Using FreePascal 3.3 compiler is almost as fast than C version. ________________________________________________________________________ {$mode delphi} program leibniz; uses Windows, Messages, SysUtils, Classes,...
$ make docker build -t="niklas-heer/speed-comparison" . Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=wm4ti04ymz9j9bpkposspevii&shmsize=0&t=niklas-heer%2Fspeed-comparison&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied Makefile:4: ошибка...
Hello, Can i add a `Go` benchmark test? if yes, can i create a `tests` folder?