lks9 / src-tracer

Other
0 stars 0 forks source link

Faster trace recording #17

Closed lks9 closed 1 year ago

lks9 commented 1 year ago

I am thinking of two approaches:

  1. Write trace in parallel to the execution (multi-threading).
  2. Page wise writing to disk.
lks9 commented 1 year ago

In c73e940edf5631259acc2064f03b99461c64337a I went with 2. I have an example were the recording was around 50 times faster (4 sec vs. 0,07 sec). Without recording the program took 0,04 sec on my computer. We cannot really expect more.

So this is a huge success!