diff --git a/profile_parser/js/plot_cpu_util.js b/profile_parser/js/plot_cpu_util.js index 937aa37..16781f4 100644 --- a/profile_parser/js/plot_cpu_util.js +++ b/profile_parser/js/plot_cpu_util.js @@ -10,7 +10,7 @@ const PLOT_FILES_IN_ONE_GRAPH = true; // Each consecutive TRACES_PER_VERSION number of files get put in the same bucket const N_VERSIONS = 2; // Number of different benchmark versions to compare (each version gets a color in the graph) const TRACES_PER_VERSION = 3; // Number of samples/traces per version -const CPU_UTIL_SAMPLE_WINDOW_SIZE_MS = 500; // Adjust for sampling resolution / smoothing +const CPU_UTIL_SAMPLE_WINDOW_SIZE_MS = 250; // Adjust for sampling resolution / smoothing (Chrome uses about 500 ms) const files_in_directory = fs_1.default.readdirSync("results"); let data = []; const layout = { diff --git a/profile_parser/js/plot_stats_comparison.js b/profile_parser/js/plot_stats_comparison.js index 8933e64..b7a3e1c 100644 --- a/profile_parser/js/plot_stats_comparison.js +++ b/profile_parser/js/plot_stats_comparison.js @@ -77,7 +77,7 @@ const layout = { shapes: [ // 60 fps line { - opacity: 0.7, + opacity: 1.0, type: "line", x0: 0, y0: 16.7, @@ -92,7 +92,7 @@ const layout = { }, // 30 fps line { - opacity: 0.7, + opacity: 1.0, type: "line", x0: 0, y0: 33.4, diff --git a/profile_parser/src/plot_cpu_util.ts b/profile_parser/src/plot_cpu_util.ts index c0d7fc0..49779cf 100644 --- a/profile_parser/src/plot_cpu_util.ts +++ b/profile_parser/src/plot_cpu_util.ts @@ -6,7 +6,7 @@ const PLOT_FILES_IN_ONE_GRAPH = true; // Each consecutive TRACES_PER_VERSION number of files get put in the same bucket const N_VERSIONS = 2; // Number of different benchmark versions to compare (each version gets a color in the graph) const TRACES_PER_VERSION = 3; // Number of samples/traces per version -const CPU_UTIL_SAMPLE_WINDOW_SIZE_MS = 500; // Adjust for sampling resolution / smoothing +const CPU_UTIL_SAMPLE_WINDOW_SIZE_MS = 250; // Adjust for sampling resolution / smoothing (Chrome uses about 500 ms) const files_in_directory = fs.readdirSync("results"); diff --git a/profile_parser/src/plot_stats_comparison.ts b/profile_parser/src/plot_stats_comparison.ts index b0852e1..613e6a9 100644 --- a/profile_parser/src/plot_stats_comparison.ts +++ b/profile_parser/src/plot_stats_comparison.ts @@ -88,7 +88,7 @@ const layout = { shapes: [ // 60 fps line { - opacity: 0.7, + opacity: 1.0, type: "line" as "line", x0: 0, y0: 16.7, @@ -103,7 +103,7 @@ const layout = { }, // 30 fps line { - opacity: 0.7, + opacity: 1.0, type: "line" as "line", x0: 0, y0: 33.4,