3 ms·
Go's gc compiler is relatively young and makes few optimizations (the compiled code still performs well - this particular benchmark compares Go's unoptimized js
by enneff 15y ago
Go's gc compiler is relatively young and makes few optimizations (the compiled code still performs well - this particular benchmark compares Go's unoptimized json package with a mature C library). The gccgo compiler can take advantage of all gcc's code generation optimizations, and it's performance reflects this.