Sign in to follow this  
MrOMGWTF

Are those results right?

Recommended Posts

Hey, I was writing a simple benchmark, it intersects 1.000.000 triangles with rays, and this is what results I got:
[quote]
Generating random data for benchmark...
Data generated.
Starting benchmark...
Intersecting 1000000 triangles with rays.
Benchmark done.
Time = 95 ms.
Ray per second = 10526315.79
[/quote]
It runs on two cores. Isn't 10m rays per second on a two core cpu too much? I think it's wrong. What do you think?

Share this post


Link to post
Share on other sites
What algorithm do you use to find the intersections? How are you timing the benchmark? Are you sure the compiler isn't optimising away a good part of your benchmark?

Off the top of my head, it sounds a little high, but not impossible.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this