File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def get_maxrss
136136end
137137
138138# Do expand_path at require-time, not when returning results, before the benchmark is likely to chdir
139- default_path = " data/results-#{ RUBY_ENGINE } -#{ RUBY_ENGINE_VERSION } -#{ Time . now . strftime ( '%F-%H%M%S' ) } .json"
139+ default_path = File . expand_path ( "../ data/results-#{ RUBY_ENGINE } -#{ RUBY_ENGINE_VERSION } -#{ Time . now . strftime ( '%F-%H%M%S' ) } .json", __dir__ )
140140yb_env_var = ENV . fetch ( "RESULT_JSON_PATH" , default_path )
141141YB_OUTPUT_FILE = File . expand_path yb_env_var
142142
Original file line number Diff line number Diff line change 99# Minimum benchmarking time in seconds
1010MIN_BENCH_TIME = Integer ( ENV . fetch ( 'MIN_BENCH_TIME' , 10 ) )
1111
12- default_path = " data/results-#{ RUBY_ENGINE } -#{ RUBY_ENGINE_VERSION } -#{ Time . now . strftime ( '%F-%H%M%S' ) } .csv"
12+ default_path = File . expand_path ( "../ data/results-#{ RUBY_ENGINE } -#{ RUBY_ENGINE_VERSION } -#{ Time . now . strftime ( '%F-%H%M%S' ) } .csv", __dir__ )
1313OUT_CSV_PATH = File . expand_path ( ENV . fetch ( 'OUT_CSV_PATH' , default_path ) )
1414
1515RSS_CSV_PATH = ENV [ 'RSS_CSV_PATH' ] ? File . expand_path ( ENV [ 'RSS_CSV_PATH' ] ) : nil
You can’t perform that action at this time.
0 commit comments