rainers / cv2pdb

converter of DMD CodeView/DWARF debug information to PDB files
Artistic License 2.0
466 stars 110 forks source link

introduce a symbol cache #60

Closed oltolm closed 4 years ago

oltolm commented 4 years ago

I used cv2pdb with dxvk and it was extremely slow. I introduced a symbol cache which drastically reduces the run time.

Benchmark results:

  size in MB old new ratio
d3d11 185 52,4 6,5 8,1
dxgi 74 20,4 3 6,8
rainers commented 4 years ago

LGTM. This also solves the issue that if a symbol and the same symbol with an underscore both exist, the wrong one might be chosen so far. Now the perfect match is used if it exists. Thanks for your contribution.