Skip to content

Analysis of different versions of go compilers, pgo debug information and inline and escape analysis information display inline optimization differences

License

Notifications You must be signed in to change notification settings

qiulaidongfeng/diffbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

diffbench

Analysis of different versions of go compilers, pgo debug information and inline and escape analysis information display inline optimization differences

Use

flag information:

  -new string
        new benchmark output file
  -old string
        old benchmark output file

use example:

a command like this gets pgo debug information and inline and escape analysis information:

go build -gcflags=all="-d=pgodebug=1 -m" 2> old.txt

diffbench -new /new.txt -old /old.txt

output structare is:

// old inline , but new not inline
......(if have difference)
----------------
// new inline , but old not inline
......(if have difference)

About

Analysis of different versions of go compilers, pgo debug information and inline and escape analysis information display inline optimization differences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages