Skip to content

Instantly share code, notes, and snippets.

@ntrel
Last active July 2, 2020 11:04
Show Gist options
  • Save ntrel/0453f0b02c74f646da231b44b01447df to your computer and use it in GitHub Desktop.
Save ntrel/0453f0b02c74f646da231b44b01447df to your computer and use it in GitHub Desktop.
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ gcc --version
gcc.exe (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ /c/v/v.exe --version
V 0.1.28 bbaf6e3
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ ./v.exe --version
V 0.1.28 b3c6a4a
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ /c/v/v.exe examples/nbody.v && time ./examples/nbody.exe
-0.169075164
-0.169059907
real 0m55.745s
user 0m0.000s
sys 0m0.015s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ ./v.exe examples/nbody.v && time ./examples/nbody.exe
-0.169075164
-0.169059907
real 1m34.640s
user 0m0.000s
sys 0m0.015s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ /c/v/v.exe -prod examples/nbody.v && time ./examples/nbody.exe
-0.169075164
-0.169059907
real 0m7.746s
user 0m0.000s
sys 0m0.000s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ ./v.exe -prod examples/nbody.v && time ./examples/nbody.exe
-0.169075164
-0.169059907
real 0m7.678s
user 0m0.015s
sys 0m0.000s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ cp /c/v/v.exe . && time ./v.exe self
V self compiling ...
real 0m6.904s
user 0m0.000s
sys 0m0.015s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ time ./v.exe self
V self compiling ...
real 0m5.220s
user 0m0.000s
sys 0m0.000s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ cp /c/v/v.exe . && time ./v.exe -prod self
V self compiling (-prod)...
real 0m25.766s
user 0m0.000s
sys 0m0.015s
Czastka Family@family-desktop MINGW32 /c/git/v (arr-get)
$ time ./v.exe -prod self
V self compiling (-prod)...
real 0m25.536s
user 0m0.000s
sys 0m0.015s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment