mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
don't fsync on every nock event while tracing
This commit is contained in:
parent
a96c669b22
commit
25239fd475
@ -91,7 +91,6 @@ pub fn write_metadata(info: &mut TraceInfo) -> Result<(), Error> {
|
||||
.write(&mut info.file)?;
|
||||
info.file.write_all(",\n".as_bytes())?;
|
||||
|
||||
info.file.sync_data()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@ -180,7 +179,6 @@ pub unsafe fn write_nock_trace(
|
||||
trace_stack = (*trace_stack).next;
|
||||
}
|
||||
|
||||
info.file.sync_data()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user