From 58a5cc7f8d710c312104424e70ad41057842f20a Mon Sep 17 00:00:00 2001 From: askiiart Date: Mon, 18 Nov 2024 14:47:27 -0600 Subject: [PATCH] update comments now that this is less horrible --- assets/benchmarking-dwarfs/process-data.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/assets/benchmarking-dwarfs/process-data.py b/assets/benchmarking-dwarfs/process-data.py index 3843462..626300a 100644 --- a/assets/benchmarking-dwarfs/process-data.py +++ b/assets/benchmarking-dwarfs/process-data.py @@ -3,7 +3,7 @@ import csv import re -# a bunch of horrible code to make the chart.js code +# a bunch of now-less-horrible code to make the chart.js code class HelperFunctions: @@ -209,9 +209,6 @@ def declare_vars(): f.write('let ctx;\n') if __name__ == '__main__': - # NOTE: this code is absolutely horrible and all these functions (except declare_vars) should be one function that just takes the title, chart canvas id, filename, test name in bulk, and index in singles - # and what function to get data from, if that's possible - # i will repent to the DRY gods someday declare_vars() run(2, 'bulk_sequential_read', 'seq_read.js', 'Sequential Read Times', 'seq_read_chart') run(3, 'bulk_random_read', 'rand_read.js', 'Random Read Times', 'rand_read_chart')