Programming language ray tracing benchmarks project
1–10 of 90 posts
Re: Programming language ray tracing benchmarks project
#2Re: Programming language ray tracing benchmarks project
#3There is a big variation in performance, some of which I find surprising. Do you know what exactly causes some languages to be so slow (e.g., small objects being created and garbage collected frequently)?
Re: Programming language ray tracing benchmarks project
#4Re: Programming language ray tracing benchmarks project
#5I don't think the C# time is representative. I suspect Mono is really slow here. I just ran it with VS 2015 in 1 min 24 sec.
Re: Programming language ray tracing benchmarks project
#6Any more experienced language user could trim down the execution time by applying known rules for any given language.
Sorry, but this is not serious!
Re: Programming language ray tracing benchmarks project
#7 $ time python pyrb.py
real 348m35.965s
user 345m51.776s
sys 0m22.880s
$ time pypy pyrb.py
real 14m2.406s
user 13m55.292s
sys 0m1.416sRe: Programming language ray tracing benchmarks project
#8I don't think the C# time is representative. I suspect Mono is really slow here. I just ran it with VS 2015 in 1 min 24 sec.
Re: Programming language ray tracing benchmarks project
#9I don't think the C# time is representative. I suspect Mono is really slow here. I just ran it with VS 2015 in 1 min 24 sec.
The C# implementation looks flawed (uses reference types for vectors etc). Using value types and .NET Core should give a much better result than that. Will try to remember doing a PR.
Re: Programming language ray tracing benchmarks project
#10I am surprised PyPy has such a huge lead over Python. $ time python pyrb.py real 348m35.965s user 345m51.776s sys 0m22.880s $ time pypy pyrb.py real 14m2.406s user 13m55.292s sys 0m1.416s