Skip to content

GoPCode 0.1.3

Latest

Choose a tag to compare

@dzonerzy dzonerzy released this 14 Nov 00:13

πŸš€ GoPCode 0.1.3 includes:

  • 2.15x Performance improvement πŸ”₯

We got an overall performance increase of 2.15x with a memory allocation reduction of 12x and a memory allocation size reduction of 12.1x

Before:

pkg: github.com/dzonerzy/gopcode
cpu: AMD Ryzen 7 7800X3D 8-Core Processor          
BenchmarkTranslate-16    	  211861	      5850 ns/op	    7160 B/op	     108 allocs/op

After:

pkg: github.com/dzonerzy/gopcode
cpu: AMD Ryzen 7 7800X3D 8-Core Processor           
BenchmarkTranslate-16    	  400641	      2719 ns/op	     592 B/op	       9 allocs/op

With the next release I plan to optimize also the C side (libpcode_c) to achieve a total speed increase of 5x .

Full Changelog: 0.1.2...0.1.3