Jump to content

  • Log In with Google      Sign In   
  • Create Account

Are those results right?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 MrOMGWTF   Members   -  Reputation: 440

Like
0Likes
Like

Posted 19 September 2012 - 09:16 AM

Hey, I was writing a simple benchmark, it intersects 1.000.000 triangles with rays, and this is what results I got:

Generating random data for benchmark...
Data generated.
Starting benchmark...
Intersecting 1000000 triangles with rays.
Benchmark done.
Time = 95 ms.
Ray per second = 10526315.79

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?

Sponsor:

#2 swiftcoder   Senior Moderators   -  Reputation: 10364

Like
0Likes
Like

Posted 19 September 2012 - 10:59 AM

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.

Tristam MacDonald - Software Engineer @Amazon - [swiftcoding]





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS