Skip to content

Conversation

samuelgarcia
Copy link
Member

@samuelgarcia samuelgarcia commented Oct 14, 2025

The write_binary_recording() was using the memmap machinery but this is a bad idea for writing because it synchronize the buffer with the disk before writing with a read and this make it more slow.

Of some system with netowrk drive this PR make the writing to binary 2 times faster witth this simple PR.

@h-mayorquin : I did also some test on the reading side, but there is no effect on perf so for now I keep memmap machinery on reading side. But maybe we could switch to this also in binary extarctor : simple seek and np.fromfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant