Created
January 9, 2015 00:52
-
-
Save julialang-jenkins/5c57dbdc1095e5f7ad5c to your computer and use it in GitHub Desktop.
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
0 | |
elapsed time: 0.010670071 seconds (142288 bytes allocated) | |
1 | |
elapsed time: 1.4247e-5 seconds (80 bytes allocated) | |
1 | |
elapsed time: 7.822e-6 seconds (80 bytes allocated) | |
2 | |
elapsed time: 7.264e-6 seconds (80 bytes allocated) | |
3 | |
elapsed time: 7.263e-6 seconds (80 bytes allocated) | |
5 | |
elapsed time: 7.822e-6 seconds (80 bytes allocated) | |
8 | |
elapsed time: 7.822e-6 seconds (80 bytes allocated) | |
13 | |
elapsed time: 7.823e-6 seconds (80 bytes allocated) | |
21 | |
elapsed time: 8.102e-6 seconds (80 bytes allocated) | |
34 | |
elapsed time: 8.102e-6 seconds (80 bytes allocated) | |
55 | |
elapsed time: 8.381e-6 seconds (80 bytes allocated) |
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
function fib(n::Integer) | |
if n == 0 | |
return 0 | |
elseif n == 1 | |
return 1 | |
else | |
return fib(n - 1) + fib(n - 2) | |
end | |
end | |
for n in 0:10 | |
@time print(fib(n), " | |
") | |
end | |
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
Julia Version 0.3.3 | |
Commit b24213b (2014-11-23 20:19 UTC) | |
Platform Info: | |
System: Linux (x86_64-linux-gnu) | |
CPU: Intel Xeon E312xx (Sandy Bridge) | |
WORD_SIZE: 64 | |
Ubuntu 12.04.5 LTS | |
uname: Linux 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 | |
Memory: 0.9721298217773438 GB (69.375 MB free) | |
Uptime: 4.01364e6 sec | |
Load Avg: 0.52880859375 0.5244140625 0.3017578125 | |
Intel Xeon E312xx (Sandy Bridge): | |
speed user nice sys idle irq | |
#1 2499 MHz 13173688 s 4709 s 2909580 s 382816408 s 682 s | |
#2 2499 MHz 11083379 s 221 s 2876011 s 386379842 s 0 s | |
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge) | |
LAPACK: libopenblas | |
LIBM: libopenlibm | |
LLVM: libLLVM-3.3 | |
Environment: | |
JENKINS_HOME = /var/lib/jenkins | |
LD_LIBRARY_PATH = /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64 | |
HOME = /var/lib/jenkins | |
TERM = screen | |
HUDSON_HOME = /var/lib/jenkins | |
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games | |
Package Directory: /var/lib/jenkins/.julia/v0.3 | |
No packages installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment