Jump to content
  • Advertisement
Sign in to follow this  

Are those results right?

This topic is 2219 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!