Skip to content
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

Support timing indicating when cell execution got scheduled #30

Open
krassowski opened this issue Jan 20, 2025 · 0 comments
Open

Support timing indicating when cell execution got scheduled #30

krassowski opened this issue Jan 20, 2025 · 0 comments

Comments

@krassowski
Copy link
Collaborator

#29 implements timing of cell execution, but not of when cell execution was scheduled. This can be done by recording the current time when the task to execute the request is put on the task queue, here:

uid = self._execution_stack.put(kernel_id, snippet, metadata)

or more precisely here:

self.__tasks[kernel_id].put_nowait((uid, snippet, metadata))

For backward compatibility this should be recorded as iopub.status.busy. This will allow extensions such as jupyterlab-execute-time to display the time since the server-side execution was scheduled (as they do for normal execution).

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

No branches or pull requests

1 participant