Commit 098554d3 authored by Patrick Labatut's avatar Patrick Labatut Committed by Facebook GitHub Bot
Browse files

Use more realistic number of vertices / faces in benchmarks

Summary: Use more realistic number of vertices / faces in benchmarks: in typical meshes, |F| ~ 2 |V| (follows from Euler formula + triangles as faces)

Reviewed By: nikhilaravi

Differential Revision: D20390722

fbshipit-source-id: d615e5810d6f4521391963b2573497c08a58db80
parent 94fc862f
...@@ -8,9 +8,9 @@ from test_ply_io import TestMeshPlyIO ...@@ -8,9 +8,9 @@ from test_ply_io import TestMeshPlyIO
def bm_save_load() -> None: def bm_save_load() -> None:
simple_kwargs_list = [ simple_kwargs_list = [
{"V": 100, "F": 300}, {"V": 100, "F": 200},
{"V": 1000, "F": 3000}, {"V": 1000, "F": 2000},
{"V": 10000, "F": 30000}, {"V": 10000, "F": 20000},
] ]
benchmark( benchmark(
TestMeshObjIO.bm_load_simple_obj_with_init, TestMeshObjIO.bm_load_simple_obj_with_init,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment