Notebook execution time

Hey,

I am executing a notebook which takes 3 minutes. From the result.pdf i see that it only took 300ms to execute the code within the notebook. So why does it takes 3 minutes to complete the notebook execution in Losant?

image

The additional time comes from the following:

  1. Exporting all required data.
  2. Instantiating the dedicated VM in which the notebook is executed.
  3. Copying exported data to the VM so it can be directly accessed by the notebook.
  4. Copying any outputs to their destinations.

One of the largest variables in notebook execution time is how long it takes to export the data. Some notebook input data can be several gigabytes in size, which does take a fair amount of time to export and then copy into the notebook environment.

1 Like

I would consider my input and output files small that is why i was surprised i took so long. So i guess the VM part is taking most of the time in this situation.