From 581aa5773db5af4f116bb2c1aa89303df292fbbe Mon Sep 17 00:00:00 2001 From: Daniel Kang Date: Fri, 11 Jan 2019 01:22:21 -0800 Subject: [PATCH] minor update in bench output --- cmd/bench/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/bench/main.go b/cmd/bench/main.go index dbd0d1f..808077d 100644 --- a/cmd/bench/main.go +++ b/cmd/bench/main.go @@ -44,8 +44,9 @@ fib := func(x, s) { } fmt.Println("-------------------------------------") - fmt.Printf("fibonacci(%d) = %d (tail-call)\n", n, nativeResult) + fmt.Printf("fibonacci(%d) (tail-call)\n", n) fmt.Println("-------------------------------------") + fmt.Printf("Result: %d\n", nativeResult) fmt.Printf("Go: %s\n", nativeTime) fmt.Printf("Parser: %s\n", parseTime) fmt.Printf("Compile: %s\n", compileTime) @@ -79,8 +80,9 @@ fib := func(x) { } fmt.Println("-------------------------------------") - fmt.Printf("fibonacci(%d) = %d\n", n, nativeResult) + fmt.Printf("fibonacci(%d)\n", n) fmt.Println("-------------------------------------") + fmt.Printf("Result: %d\n", nativeResult) fmt.Printf("Go: %s\n", nativeTime) fmt.Printf("Parser: %s\n", parseTime) fmt.Printf("Compile: %s\n", compileTime)