Giter Club home page Giter Club logo

aabbox_benchmark's Introduction

AABBox Benchmark

For proper benchmark source must be compiled in release mode with whole program optimization turned off. The center+extent AABBox layout performs better in AABBox-Frustum intersection test (not included here), which speeds up the frustum culling. The min+max AABBox layout performs better in constructing AABBox from bunch of points or other AABBoxes.

Center+extent AABBox layout, without SSE

Function Time
operator+(float4): 106053100ns
operator+(aabbox): 145008400ns
intersect(float4): 86422800ns
intersect(aabbox): 58851000ns

Center+extent AABBox layout, with SSE

Function Time Improvement*
operator+(float4): 40955700ns 2.59
operator+(aabbox): 42973200ns 3.37
intersect(float4): 16630500ns 5.20
intersect(aabbox): 16431800ns 3.58

* over center+extent AABBox layout, without SSE

Min+max AABBox layout, without SSE

Function Time Improvement*
operator+(float4): 61488100ns 1.72
operator+(aabbox): 67009900ns 2.16
intersect(float4): 72047100ns 1.20
intersect(aabbox): 72235600ns 0.81

* over center+extent AABBox layout, without SSE

Min+max AABBox layout, with SSE

Function Time Improvement*
operator+(float4): 15794400ns 2.59
operator+(aabbox): 14395800ns 2.99
intersect(float4): 16317700ns 1.02
intersect(aabbox): 15112000ns 1.09

* over center+extent AABBox layout, with SSE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.