Open aseemk opened 10 years ago
How do you stop the process? If you call process.exit()
just after recorder.stop()
the unzip output buffers won't be flushed.
But it could also be a bug. I haven't re-tested recorder.stop()
after the change. I'm using ^C with a SIGINT handler in our code.
@aseemk
I'm suspecting that you are running streamline in callbacks mode. I just fixed a serious bug in the nodify
call which is used to zip the data. It may fix your problem: https://github.com/Sage/ez-streams/issues/8
We're running streamline in fibers mode in-house so we don't always catch problems in other modes. Sorry for that.
@aseemk I haven't published the ez-streams fix to npm yet. I'll do a bit later in the week-end.
I'm generating my profile as instructed, I think (and which used to work before the gzip change):
When I run the
gen-graphs.sh
command on the generatedperf-recorded.gz
:It looks like the culprit is that the gzip file is invalid:
Running the current/latest version 0.1.4.