Closed wouterbeek closed 10 months ago
The quads generated are streamed to a buffer here (writer
), but the file will only be written when that stage emits an 'end' event (see code here). Thus the file will only be written once a stage has finished.
@philipperenzen I do not really want to read TypeScript. I have tried to make my questions even more specific:
Clarified by @philipperenzen and Laurens. Results are not written to memory, so no bottleneck there.
Observation
When I run LD Workbench for a longer time, the result file remains empty. Only upon terminating the run does the file get written to disk. I do not understand how this works, since the file can be of arbitrary size.
Expected
I expect the file to be continuously written to disk while LD Workbench is running. There may be a buffer size, but that should be very small (kilobyte-level or smaller).