-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NC | NSFS | Add Log Printing Measuring Time Duration (Buffer Allocation) #8603
base: master
Are you sure you want to change the base?
Conversation
ec36375
to
8b1a50d
Compare
I still don't fully understand how the 30 milliseconds are split, I saw:
Another case:
Full logs are attached here |
8b1a50d
to
300f14c
Compare
Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
300f14c
to
5cd2c36
Compare
Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
5cd2c36
to
150c709
Compare
I attached another run (the cases where we get the warning are inconsistent).
Full logs are attached here 30 ms timeout (as mentioned on a local run, I decreased it from 2 minutes to 30 ms):
In the real system, the write to socket is based on the network and might probably explain more of the time that took this to run. The main question in this PR is whether adding this printing would help us in the future. |
Explain the changes
get_buffer
and insidedio_buffer_alloc
(Infs_napi.cpp
the code lines were copied from other commands in this file).Issues:
Testing Instructions:
First, since we change a native file, you need to run:
npm run build
(npm run build:native
)I followed the instructions I did in the issue (see comment).