From a0e2d2e3c3020f5e5899a93e5744fdb26de703fe Mon Sep 17 00:00:00 2001 From: Jeremy Reizenstein Date: Tue, 7 Dec 2021 10:22:17 -0800 Subject: [PATCH] move benchmarks to separate directory Summary: Move benchmarks to a separate directory as tests/ is getting big. Reviewed By: nikhilaravi Differential Revision: D32885462 fbshipit-source-id: a832662a494ee341ab77d95493c95b0af0a83f43 --- tests/benchmarks/__init__.py | 0 tests/{ => benchmarks}/bm_acos_linear_extrapolation.py | 0 tests/{ => benchmarks}/bm_ball_query.py | 0 tests/{ => benchmarks}/bm_barycentric_clipping.py | 0 tests/{ => benchmarks}/bm_blending.py | 0 tests/{ => benchmarks}/bm_cameras_alignment.py | 0 tests/{ => benchmarks}/bm_chamfer.py | 0 tests/{ => benchmarks}/bm_cubify.py | 0 tests/{ => benchmarks}/bm_face_areas_normals.py | 0 tests/{ => benchmarks}/bm_graph_conv.py | 0 tests/{ => benchmarks}/bm_interpolate_face_attributes.py | 0 tests/{ => benchmarks}/bm_iou_box3d.py | 0 tests/{ => benchmarks}/bm_knn.py | 0 tests/{ => benchmarks}/bm_lighting.py | 0 tests/{ => benchmarks}/bm_main.py | 0 tests/{ => benchmarks}/bm_marching_cubes.py | 0 tests/{ => benchmarks}/bm_mesh_edge_loss.py | 0 tests/{ => benchmarks}/bm_mesh_io.py | 0 tests/{ => benchmarks}/bm_mesh_laplacian_smoothing.py | 0 tests/{ => benchmarks}/bm_mesh_normal_consistency.py | 0 tests/{ => benchmarks}/bm_mesh_rasterizer_transform.py | 0 tests/{ => benchmarks}/bm_meshes.py | 0 tests/{ => benchmarks}/bm_packed_to_padded.py | 0 tests/{ => benchmarks}/bm_perspective_n_points.py | 0 tests/{ => benchmarks}/bm_point_mesh_distance.py | 0 tests/{ => benchmarks}/bm_pointclouds.py | 0 tests/{ => benchmarks}/bm_points_alignment.py | 0 tests/{ => benchmarks}/bm_points_to_volumes.py | 0 tests/{ => benchmarks}/bm_pulsar.py | 0 tests/{ => benchmarks}/bm_rasterize_meshes.py | 0 tests/{ => benchmarks}/bm_rasterize_points.py | 0 tests/{ => benchmarks}/bm_raymarching.py | 0 tests/{ => benchmarks}/bm_raysampling.py | 0 tests/{ => benchmarks}/bm_render_implicit.py | 0 tests/{ => benchmarks}/bm_render_volumes.py | 0 tests/{ => benchmarks}/bm_sample_farthest_points.py | 0 tests/{ => benchmarks}/bm_sample_pdf.py | 0 tests/{ => benchmarks}/bm_sample_points_from_meshes.py | 0 tests/{ => benchmarks}/bm_se3.py | 0 tests/{ => benchmarks}/bm_so3.py | 0 tests/{ => benchmarks}/bm_subdivide_meshes.py | 0 tests/{ => benchmarks}/bm_symeig3x3.py | 0 tests/{ => benchmarks}/bm_vert_align.py | 0 43 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/benchmarks/__init__.py rename tests/{ => benchmarks}/bm_acos_linear_extrapolation.py (100%) rename tests/{ => benchmarks}/bm_ball_query.py (100%) rename tests/{ => benchmarks}/bm_barycentric_clipping.py (100%) rename tests/{ => benchmarks}/bm_blending.py (100%) rename tests/{ => benchmarks}/bm_cameras_alignment.py (100%) rename tests/{ => benchmarks}/bm_chamfer.py (100%) rename tests/{ => benchmarks}/bm_cubify.py (100%) rename tests/{ => benchmarks}/bm_face_areas_normals.py (100%) rename tests/{ => benchmarks}/bm_graph_conv.py (100%) rename tests/{ => benchmarks}/bm_interpolate_face_attributes.py (100%) rename tests/{ => benchmarks}/bm_iou_box3d.py (100%) rename tests/{ => benchmarks}/bm_knn.py (100%) rename tests/{ => benchmarks}/bm_lighting.py (100%) rename tests/{ => benchmarks}/bm_main.py (100%) rename tests/{ => benchmarks}/bm_marching_cubes.py (100%) rename tests/{ => benchmarks}/bm_mesh_edge_loss.py (100%) rename tests/{ => benchmarks}/bm_mesh_io.py (100%) rename tests/{ => benchmarks}/bm_mesh_laplacian_smoothing.py (100%) rename tests/{ => benchmarks}/bm_mesh_normal_consistency.py (100%) rename tests/{ => benchmarks}/bm_mesh_rasterizer_transform.py (100%) rename tests/{ => benchmarks}/bm_meshes.py (100%) rename tests/{ => benchmarks}/bm_packed_to_padded.py (100%) rename tests/{ => benchmarks}/bm_perspective_n_points.py (100%) rename tests/{ => benchmarks}/bm_point_mesh_distance.py (100%) rename tests/{ => benchmarks}/bm_pointclouds.py (100%) rename tests/{ => benchmarks}/bm_points_alignment.py (100%) rename tests/{ => benchmarks}/bm_points_to_volumes.py (100%) rename tests/{ => benchmarks}/bm_pulsar.py (100%) rename tests/{ => benchmarks}/bm_rasterize_meshes.py (100%) rename tests/{ => benchmarks}/bm_rasterize_points.py (100%) rename tests/{ => benchmarks}/bm_raymarching.py (100%) rename tests/{ => benchmarks}/bm_raysampling.py (100%) rename tests/{ => benchmarks}/bm_render_implicit.py (100%) rename tests/{ => benchmarks}/bm_render_volumes.py (100%) rename tests/{ => benchmarks}/bm_sample_farthest_points.py (100%) rename tests/{ => benchmarks}/bm_sample_pdf.py (100%) rename tests/{ => benchmarks}/bm_sample_points_from_meshes.py (100%) rename tests/{ => benchmarks}/bm_se3.py (100%) rename tests/{ => benchmarks}/bm_so3.py (100%) rename tests/{ => benchmarks}/bm_subdivide_meshes.py (100%) rename tests/{ => benchmarks}/bm_symeig3x3.py (100%) rename tests/{ => benchmarks}/bm_vert_align.py (100%) diff --git a/tests/benchmarks/__init__.py b/tests/benchmarks/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/bm_acos_linear_extrapolation.py b/tests/benchmarks/bm_acos_linear_extrapolation.py similarity index 100% rename from tests/bm_acos_linear_extrapolation.py rename to tests/benchmarks/bm_acos_linear_extrapolation.py diff --git a/tests/bm_ball_query.py b/tests/benchmarks/bm_ball_query.py similarity index 100% rename from tests/bm_ball_query.py rename to tests/benchmarks/bm_ball_query.py diff --git a/tests/bm_barycentric_clipping.py b/tests/benchmarks/bm_barycentric_clipping.py similarity index 100% rename from tests/bm_barycentric_clipping.py rename to tests/benchmarks/bm_barycentric_clipping.py diff --git a/tests/bm_blending.py b/tests/benchmarks/bm_blending.py similarity index 100% rename from tests/bm_blending.py rename to tests/benchmarks/bm_blending.py diff --git a/tests/bm_cameras_alignment.py b/tests/benchmarks/bm_cameras_alignment.py similarity index 100% rename from tests/bm_cameras_alignment.py rename to tests/benchmarks/bm_cameras_alignment.py diff --git a/tests/bm_chamfer.py b/tests/benchmarks/bm_chamfer.py similarity index 100% rename from tests/bm_chamfer.py rename to tests/benchmarks/bm_chamfer.py diff --git a/tests/bm_cubify.py b/tests/benchmarks/bm_cubify.py similarity index 100% rename from tests/bm_cubify.py rename to tests/benchmarks/bm_cubify.py diff --git a/tests/bm_face_areas_normals.py b/tests/benchmarks/bm_face_areas_normals.py similarity index 100% rename from tests/bm_face_areas_normals.py rename to tests/benchmarks/bm_face_areas_normals.py diff --git a/tests/bm_graph_conv.py b/tests/benchmarks/bm_graph_conv.py similarity index 100% rename from tests/bm_graph_conv.py rename to tests/benchmarks/bm_graph_conv.py diff --git a/tests/bm_interpolate_face_attributes.py b/tests/benchmarks/bm_interpolate_face_attributes.py similarity index 100% rename from tests/bm_interpolate_face_attributes.py rename to tests/benchmarks/bm_interpolate_face_attributes.py diff --git a/tests/bm_iou_box3d.py b/tests/benchmarks/bm_iou_box3d.py similarity index 100% rename from tests/bm_iou_box3d.py rename to tests/benchmarks/bm_iou_box3d.py diff --git a/tests/bm_knn.py b/tests/benchmarks/bm_knn.py similarity index 100% rename from tests/bm_knn.py rename to tests/benchmarks/bm_knn.py diff --git a/tests/bm_lighting.py b/tests/benchmarks/bm_lighting.py similarity index 100% rename from tests/bm_lighting.py rename to tests/benchmarks/bm_lighting.py diff --git a/tests/bm_main.py b/tests/benchmarks/bm_main.py similarity index 100% rename from tests/bm_main.py rename to tests/benchmarks/bm_main.py diff --git a/tests/bm_marching_cubes.py b/tests/benchmarks/bm_marching_cubes.py similarity index 100% rename from tests/bm_marching_cubes.py rename to tests/benchmarks/bm_marching_cubes.py diff --git a/tests/bm_mesh_edge_loss.py b/tests/benchmarks/bm_mesh_edge_loss.py similarity index 100% rename from tests/bm_mesh_edge_loss.py rename to tests/benchmarks/bm_mesh_edge_loss.py diff --git a/tests/bm_mesh_io.py b/tests/benchmarks/bm_mesh_io.py similarity index 100% rename from tests/bm_mesh_io.py rename to tests/benchmarks/bm_mesh_io.py diff --git a/tests/bm_mesh_laplacian_smoothing.py b/tests/benchmarks/bm_mesh_laplacian_smoothing.py similarity index 100% rename from tests/bm_mesh_laplacian_smoothing.py rename to tests/benchmarks/bm_mesh_laplacian_smoothing.py diff --git a/tests/bm_mesh_normal_consistency.py b/tests/benchmarks/bm_mesh_normal_consistency.py similarity index 100% rename from tests/bm_mesh_normal_consistency.py rename to tests/benchmarks/bm_mesh_normal_consistency.py diff --git a/tests/bm_mesh_rasterizer_transform.py b/tests/benchmarks/bm_mesh_rasterizer_transform.py similarity index 100% rename from tests/bm_mesh_rasterizer_transform.py rename to tests/benchmarks/bm_mesh_rasterizer_transform.py diff --git a/tests/bm_meshes.py b/tests/benchmarks/bm_meshes.py similarity index 100% rename from tests/bm_meshes.py rename to tests/benchmarks/bm_meshes.py diff --git a/tests/bm_packed_to_padded.py b/tests/benchmarks/bm_packed_to_padded.py similarity index 100% rename from tests/bm_packed_to_padded.py rename to tests/benchmarks/bm_packed_to_padded.py diff --git a/tests/bm_perspective_n_points.py b/tests/benchmarks/bm_perspective_n_points.py similarity index 100% rename from tests/bm_perspective_n_points.py rename to tests/benchmarks/bm_perspective_n_points.py diff --git a/tests/bm_point_mesh_distance.py b/tests/benchmarks/bm_point_mesh_distance.py similarity index 100% rename from tests/bm_point_mesh_distance.py rename to tests/benchmarks/bm_point_mesh_distance.py diff --git a/tests/bm_pointclouds.py b/tests/benchmarks/bm_pointclouds.py similarity index 100% rename from tests/bm_pointclouds.py rename to tests/benchmarks/bm_pointclouds.py diff --git a/tests/bm_points_alignment.py b/tests/benchmarks/bm_points_alignment.py similarity index 100% rename from tests/bm_points_alignment.py rename to tests/benchmarks/bm_points_alignment.py diff --git a/tests/bm_points_to_volumes.py b/tests/benchmarks/bm_points_to_volumes.py similarity index 100% rename from tests/bm_points_to_volumes.py rename to tests/benchmarks/bm_points_to_volumes.py diff --git a/tests/bm_pulsar.py b/tests/benchmarks/bm_pulsar.py similarity index 100% rename from tests/bm_pulsar.py rename to tests/benchmarks/bm_pulsar.py diff --git a/tests/bm_rasterize_meshes.py b/tests/benchmarks/bm_rasterize_meshes.py similarity index 100% rename from tests/bm_rasterize_meshes.py rename to tests/benchmarks/bm_rasterize_meshes.py diff --git a/tests/bm_rasterize_points.py b/tests/benchmarks/bm_rasterize_points.py similarity index 100% rename from tests/bm_rasterize_points.py rename to tests/benchmarks/bm_rasterize_points.py diff --git a/tests/bm_raymarching.py b/tests/benchmarks/bm_raymarching.py similarity index 100% rename from tests/bm_raymarching.py rename to tests/benchmarks/bm_raymarching.py diff --git a/tests/bm_raysampling.py b/tests/benchmarks/bm_raysampling.py similarity index 100% rename from tests/bm_raysampling.py rename to tests/benchmarks/bm_raysampling.py diff --git a/tests/bm_render_implicit.py b/tests/benchmarks/bm_render_implicit.py similarity index 100% rename from tests/bm_render_implicit.py rename to tests/benchmarks/bm_render_implicit.py diff --git a/tests/bm_render_volumes.py b/tests/benchmarks/bm_render_volumes.py similarity index 100% rename from tests/bm_render_volumes.py rename to tests/benchmarks/bm_render_volumes.py diff --git a/tests/bm_sample_farthest_points.py b/tests/benchmarks/bm_sample_farthest_points.py similarity index 100% rename from tests/bm_sample_farthest_points.py rename to tests/benchmarks/bm_sample_farthest_points.py diff --git a/tests/bm_sample_pdf.py b/tests/benchmarks/bm_sample_pdf.py similarity index 100% rename from tests/bm_sample_pdf.py rename to tests/benchmarks/bm_sample_pdf.py diff --git a/tests/bm_sample_points_from_meshes.py b/tests/benchmarks/bm_sample_points_from_meshes.py similarity index 100% rename from tests/bm_sample_points_from_meshes.py rename to tests/benchmarks/bm_sample_points_from_meshes.py diff --git a/tests/bm_se3.py b/tests/benchmarks/bm_se3.py similarity index 100% rename from tests/bm_se3.py rename to tests/benchmarks/bm_se3.py diff --git a/tests/bm_so3.py b/tests/benchmarks/bm_so3.py similarity index 100% rename from tests/bm_so3.py rename to tests/benchmarks/bm_so3.py diff --git a/tests/bm_subdivide_meshes.py b/tests/benchmarks/bm_subdivide_meshes.py similarity index 100% rename from tests/bm_subdivide_meshes.py rename to tests/benchmarks/bm_subdivide_meshes.py diff --git a/tests/bm_symeig3x3.py b/tests/benchmarks/bm_symeig3x3.py similarity index 100% rename from tests/bm_symeig3x3.py rename to tests/benchmarks/bm_symeig3x3.py diff --git a/tests/bm_vert_align.py b/tests/benchmarks/bm_vert_align.py similarity index 100% rename from tests/bm_vert_align.py rename to tests/benchmarks/bm_vert_align.py