Consensys / linea-tracer

Part of the Linea stack responsible for extracting data from the execution of an EVM client in order to construct large matrices called execution traces.
https://linea.build
Other
35 stars 25 forks source link

Optimise Trace Generation (Except Hub) #837

Closed DavePearce closed 4 months ago

DavePearce commented 4 months ago

The Trace.java file produced by corset for all of the modules is very inefficient places. Some examples:

For more details, see Corset issue#160.

At this stage, we don't have to do all the modules in one go. In particular, I will not update the hub with this issue, but will leave that for future.

DavePearce commented 4 months ago

So, for the 531 trace files generated from running the tests in this repository. Originally, they produced 6.7G of data; now with all modules except hub updated, they produce 5.1G of data. Its definitely an improvement, though I was hoping for more :). I guess the hub is a big part of the reason here.

letypequividelespoubelles commented 4 months ago

I(ve updtated the HUB trace in https://github.com/Consensys/linea-arithmetization/pull/748