minor update in bench output

This commit is contained in:
Daniel Kang 2019-01-11 01:22:21 -08:00
parent fbbec8853b
commit 581aa5773d

View file

@ -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)