rbran / sleigh-rs

Ghidra Sleight (PCode) parsing library in Rust.
MIT License
35 stars 5 forks source link

Performance question #11

Closed chf0x closed 3 months ago

chf0x commented 3 months ago

Hi! Thank you for the great library. I am curious, have you compared the performance between your implementation and the original one? If so, what were the results?

rbran commented 3 months ago

Hello, there are two original ones: one in java and other in c++. The result could also depend on what is being tested, if you are only compiling the sleigh file, disassembling bytes codes, or generating pcodes for each instruction, etc.

Although this project can compile a sleigh file very fast (~.17s for tricore) it's not ready yet to be benchmarked against the original implementations.