{"id":20322507,"url":"https://github.com/suvrik/aabbox_benchmark","last_synced_at":"2026-06-07T00:32:21.087Z","repository":{"id":189966598,"uuid":"367841750","full_name":"suVrik/aabbox_benchmark","owner":"suVrik","description":"AABBox Benchmark","archived":false,"fork":false,"pushed_at":"2021-05-16T10:12:54.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T10:13:51.429Z","etag":null,"topics":["aabb","aabbox","benchmark","math","sse"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suVrik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-16T09:55:30.000Z","updated_at":"2021-06-04T21:33:38.000Z","dependencies_parsed_at":"2023-08-22T18:21:30.286Z","dependency_job_id":null,"html_url":"https://github.com/suVrik/aabbox_benchmark","commit_stats":null,"previous_names":["suvrik/aabbox_benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suVrik/aabbox_benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suVrik%2Faabbox_benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suVrik%2Faabbox_benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suVrik%2Faabbox_benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suVrik%2Faabbox_benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suVrik","download_url":"https://codeload.github.com/suVrik/aabbox_benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suVrik%2Faabbox_benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34005030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aabb","aabbox","benchmark","math","sse"],"created_at":"2024-11-14T19:22:54.132Z","updated_at":"2026-06-07T00:32:21.030Z","avatar_url":"https://github.com/suVrik.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AABBox Benchmark\n\nFor proper benchmark source must be compiled in release mode with whole program optimization turned off.\nThe center+extent AABBox layout performs better in AABBox-Frustum intersection test (not included here), which speeds up the frustum culling.\nThe min+max AABBox layout performs better in constructing AABBox from bunch of points or other AABBoxes.\n\n## Center+extent AABBox layout, without SSE\n\n| Function | Time |\n|-|-|\n| operator+(float4): | 106053100ns |\n| operator+(aabbox): | 145008400ns |\n| intersect(float4): | 86422800ns |\n| intersect(aabbox): | 58851000ns |\n\n## Center+extent AABBox layout, with SSE\n\n| Function | Time | Improvement* |\n|-|-|-|\n| operator+(float4): | 40955700ns | 2.59 |\n| operator+(aabbox): | 42973200ns | 3.37 |\n| intersect(float4): | 16630500ns | 5.20 |\n| intersect(aabbox): | 16431800ns | 3.58 |\n\n*\\* over center+extent AABBox layout, without SSE*\n\n## Min+max AABBox layout, without SSE\n\n| Function | Time | Improvement* |\n|-|-|-|\n| operator+(float4): | 61488100ns | 1.72 |\n| operator+(aabbox): | 67009900ns | 2.16 |\n| intersect(float4): | 72047100ns | 1.20 |\n| intersect(aabbox): | 72235600ns | 0.81 |\n\n*\\* over center+extent AABBox layout, without SSE*\n\n## Min+max AABBox layout, with SSE\n\n| Function | Time | Improvement* |\n|-|-|-|\n| operator+(float4): | 15794400ns | 2.59 |\n| operator+(aabbox): | 14395800ns | 2.99 |\n| intersect(float4): | 16317700ns | 1.02 |\n| intersect(aabbox): | 15112000ns | 1.09 |\n\n*\\* over center+extent AABBox layout, with SSE*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuvrik%2Faabbox_benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuvrik%2Faabbox_benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuvrik%2Faabbox_benchmark/lists"}