Closed
Description
by reid.write:
STR: 1. clone the git repository here: [email protected]:tarasglek/jsonbench.git 2. Generate some sample JSON data using the instructions in the README 3. Run the go json benchmark which is in gojson/src/jsonbench/json.go What is the expected output? I expected to see performance roughly in line with Java (using Jackson for json parsing). On my test machine, the Java benchmark results in the following: Processing 436525928 bytes took 5491 ms (75.82 MB/s) What do you see instead? Significantly slower performance, using the same input file: Duration: 27.497043818s, 15.14 MB/s Which compiler are you using (5g, 6g, 8g, gccgo)? Not sure Which operating system are you using? Linux dell-ubuntu 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Which version are you using? (run 'go version') go version go1.1 linux/amd64