Open jamesdbrock opened 2 years ago
I tried docker run --rm --tmpfs /tmp -p 8888:8888 -v $PWD/notebook:/home/jovyan/work --name learn-you-a-haskell ghcr.io/jamesdbrock/ihaskell-notebook:master jupyter lab --LabApp.token=''
and confirmed that the ihaskell-diagrams
package is using the /tmp
directory. But it didn't improve refresh speed perceptibly.
Most of the
Display
packages need to write tmp files for every render, so it's important that there be a propertmpfs
mount.https://docs.docker.com/storage/tmpfs/