From be2761e69bed739714bd16fb9169b6712147865f Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 4 Nov 2025 14:00:44 -0700 Subject: [PATCH] 1762290045 --- customscripts/cmdlist.txt | 2 +- customscripts/measure_performance | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/customscripts/cmdlist.txt b/customscripts/cmdlist.txt index dbd6622..3e019a5 100644 --- a/customscripts/cmdlist.txt +++ b/customscripts/cmdlist.txt @@ -5,4 +5,4 @@ oniux curl -s https://canhazip.com oniux curl -s https://canhazip.com oniux curl -s https://canhazip.com oniux curl -s https://canhazip.com -rm -f /tmp/file.tmp \ No newline at end of file +rm -f /tmp/*.tmp \ No newline at end of file diff --git a/customscripts/measure_performance b/customscripts/measure_performance index 7430da1..d14f1c1 100644 --- a/customscripts/measure_performance +++ b/customscripts/measure_performance @@ -12,11 +12,6 @@ #### unzip file.zip # todo: calculate human readable sizes for mem, r and w -# todo: batch mode -## loop through list of commands supplied by a file -## output da actual log for dis one ig lmao idk -### log results to a file named after the input file -### log format csv with titles # glooboos poll_seconds=2 @@ -45,8 +40,8 @@ if [ -f "$csv_file" ]; then fi measure_performance () { - if [ -f "$csv_file" ]; then - rm -f "$csv_file" + if [ -f "$logfile" ]; then + rm -f "$logfile" fi # use microseconds for timing for ONE MILLION DOLLARS more times resolution