AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
116 stars 70 forks source link

Avoid compiling the same contract on each thread in parallel read-only transaction execution in eos-vm and eos-vm-jit #800

Closed linh2931 closed 1 year ago

linh2931 commented 1 year ago

In current implementation of parallel read-only transaction execution, each thread maintains a thread local wasmif, which can result in compile the same contract on each thread. The performance can be improved if the compiled contract is shared among the threads.

linh2931 commented 1 year ago

It is decided to revisit all memory usage issues related to read-only transactions after 4.0 RC.

arhag commented 1 year ago

Replaced by https://github.com/AntelopeIO/leap/issues/1158.

BenjaminGormanPMP commented 1 year ago

@linh2931 can you provide a brief description (1 or 2 sentences) for discard of issue #800. This will help for historical reference, lessons learned, and retrospective? Thanks.