From 098554d323fedf08de77b87e06a296cc56b3b5f3 Mon Sep 17 00:00:00 2001 From: Patrick Labatut Date: Thu, 12 Mar 2020 10:34:41 -0700 Subject: [PATCH] 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 --- tests/bm_mesh_io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bm_mesh_io.py b/tests/bm_mesh_io.py index 85ce4dbe..fabdf0e5 100644 --- a/tests/bm_mesh_io.py +++ b/tests/bm_mesh_io.py @@ -8,9 +8,9 @@ from test_ply_io import TestMeshPlyIO def bm_save_load() -> None: simple_kwargs_list = [ - {"V": 100, "F": 300}, - {"V": 1000, "F": 3000}, - {"V": 10000, "F": 30000}, + {"V": 100, "F": 200}, + {"V": 1000, "F": 2000}, + {"V": 10000, "F": 20000}, ] benchmark( TestMeshObjIO.bm_load_simple_obj_with_init,