Signed-off-by: Lu Kaiyi 2392863668@qq.com --- stats/crystal/kernbench.cr | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/stats/crystal/kernbench.cr b/stats/crystal/kernbench.cr index 9d0661281..9777a11ca 100644 --- a/stats/crystal/kernbench.cr +++ b/stats/crystal/kernbench.cr @@ -1,10 +1,8 @@ #!/usr/bin/env crystal
-LKP_SRC = ENV["LKP_SRC"] || File.dirname(File.dirname(File.realpath(PROGRAM_NAME))) +require "../../lib/statistics"
-require "#{LKP_SRC}/lib/statistics" - -$stdin.each_line do |line| +STDIN.each_line do |line| case line when /Elapsed Time/ puts "elapsed_time: " + line.split[2]