From fee8bcb434a15a8ba584da38d9f89bbc6aedc4a6 Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Sat, 4 May 2024 13:54:28 +0200 Subject: [PATCH] Post PR clean up Removed script (don't want to maintain it) --- benchmark-all-validate.py | 116 -------------------------------------- 1 file changed, 116 deletions(-) delete mode 100644 benchmark-all-validate.py diff --git a/benchmark-all-validate.py b/benchmark-all-validate.py deleted file mode 100644 index 5796636a..00000000 --- a/benchmark-all-validate.py +++ /dev/null @@ -1,116 +0,0 @@ -# Benchmark all examples -import subprocess -import sys -import os -import platform - -EXAMPLES = [ - "bloom", - "computecloth", - "computecullandlod", - "computenbody", - "computeparticles", - "computeraytracing", - "computeshader", - "conditionalrender", - "conservativeraster", - "debugprintf", - "debugutils", - "deferred", - "deferredmultisampling", - "deferredshadows", - "descriptorbuffer", - "descriptorindexing", - "descriptorsets", - "displacement", - "distancefieldfonts", - "dynamicrendering", - "dynamicstate", - "dynamicuniformbuffer", - "gears", - "geometryshader", - "gltfloading", - "gltfscenerendering", - "gltfskinning", - "graphicspipelinelibrary", - "hdr", - "imgui", - "indirectdraw", - "inlineuniformblocks", - "inputattachments", - "instancing", - "meshshader", - "multisampling", - "multithreading", - "multiview", - "negativeviewportheight", - "occlusionquery", - "offscreen", - "oit", - "parallaxmapping", - "particlesystem", - "pbrbasic", - "pbribl", - "pbrtexture", - "pipelines", - "pipelinestatistics", - "pushconstants", - "pushdescriptors", - "radialblur", - "rayquery", - "raytracingbasic", - "raytracingcallable", - "raytracinggltf", - "raytracingintersection", - "raytracingpositionfetch", - "raytracingreflections", - "raytracingsbtdata", - "raytracingshadows", - "raytracingtextures", - "shaderobjects", - "shadowmapping", - "shadowmappingcascade", - "shadowmappingomni", - "specializationconstants", - "sphericalenvmapping", - "ssao", - "stencilbuffer", - "subpasses", - "terraintessellation", - "tessellation", - "textoverlay", - "texture", - "texture3d", - "texturearray", - "texturecubemap", - "texturecubemaparray", - "texturemipmapgen", - "texturesparseresidency", - "triangle", - "variablerateshading", - "vertexattributes", - "viewportarray", - "vulkanscene" -] - -CURR_INDEX = 0 - -ARGS = "-fullscreen -b -br 2 -v" - -print("Benchmarking all examples...") - -os.makedirs("./benchmark", exist_ok=True) - -for example in EXAMPLES: - print("---- (%d/%d) Running %s in benchmark mode ----" % (CURR_INDEX+1, len(EXAMPLES), example)) - if platform.system() == 'Linux' or platform.system() == 'Darwin': - RESULT_CODE = subprocess.call("./%s %s -bf ./benchmark/%s.csv 5" % (example, ARGS, example), shell=True) - else: - RESULT_CODE = subprocess.call("%s %s -bf ./benchmark/%s.csv 5" % (example, ARGS, example)) - if RESULT_CODE == 0: - print("Results written to ./benchmark/%s.csv" % example) - else: - print("Error, result code = %d" % RESULT_CODE) - CURR_INDEX += 1 - -print("Benchmark run finished")