quarto-dev / quarto-dev/quarto-cli

Slow start of preview/render when directory is large

Open
#6,771 5 comments 1 reaction 1 assignee View on GitHub

@cderv is already working on this.

Since May 28, 2026.

engines-jupyter enhancement
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

OP mentions in thread that the full directory subtree where the .qmd resides has 250k files.

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/6751

Originally posted by mpauper September 7, 2023

Description

I am rendering a single .qmd to html, and it is only using python and the jupyter engine. When I issue a render or preview command via CLI there is a 2-3 minutes delay until there is any stdout printed on the screen. Then follows the Starting python3 kernel...Done line which gets printed as is (there is no delay for the Done part).

Since there is nothing printed during the time before this gets printed, I am unsure how to interpret the delay. Is it still related to a slow start of the jupyter kernel?

I'd appreciate any pointers on what to check to figure this out!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.