Last active
January 28, 2019 21:29
-
-
Save thebirk/a63b76be2cd81bb79c9330a0a7163143 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Go src: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-go-3.html | |
Odin src: https://gist.github.com/thebirk/e02df1b94ef07fb62b50d64ba2f5328e | |
$ go build | |
$ timemem gotest.exe 50000000 | |
-0.169075164 | |
-0.169059907 | |
Exit code : 0 | |
Elapsed time : 3.76 | |
Kernel time : 0.00 (0.0%) | |
User time : 3.73 (99.2%) | |
page fault # : 1569 | |
Working set : 5900 KB | |
Paged pool : 114 KB | |
Non-paged pool : 9 KB | |
Page file size : 15048 KB | |
$ odin build . -opt=3 -no-bounds-check | |
$ timemem nbodys.exe | |
-0.169075164 | |
-0.169059907 | |
Exit code : 0 | |
Elapsed time : 3.34 | |
Kernel time : 0.02 (0.5%) | |
User time : 3.30 (98.7%) | |
page fault # : 1125 | |
Working set : 4236 KB | |
Paged pool : 105 KB | |
Non-paged pool : 7 KB | |
Page file size : 1536 KB | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment