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

Increase preview rendering speed #852

Open
iosory7 opened this issue Mar 4, 2024 · 2 comments
Open

Increase preview rendering speed #852

iosory7 opened this issue Mar 4, 2024 · 2 comments
Labels
💬 discussion Disccussion on new features, projects, etc... ✨ enhancement

Comments

@iosory7
Copy link

iosory7 commented Mar 4, 2024

Preview rendering is almost 3times slower than the v2.9.8.
Is there any way to increate rendering speed with v3.x.x ?

  • CTRL + SHIFT + P -> AsciiDoc: Open Preview
  • It takes 85sec to render preview with some adoc + v3.2.0, but only 33sec with v2.9.8

Environment

  • Windows10 22H2
  • AsciiDoc extension version: v3.2.0 vs v2.9.8(w/ external asciidoctor.js)
  • VSCode version: 1.87.0
  • Electron: 27.3.2
  • Node.js: 18.17.1
@iosory7 iosory7 added ✨ enhancement 💬 discussion Disccussion on new features, projects, etc... labels Mar 4, 2024
@ggrossetie
Copy link
Member

Even 33 seconds seems unreasonably slow. You will need to provide a reproduction case otherwise I won't be able to help.

@iosory7
Copy link
Author

iosory7 commented Mar 14, 2024

I created a adoc set (the content is meaningless) to reproduce the symptom.
Please find the attached.
I found that update preview took more time than new preview...

sample_adoc.zip

v2.9.8

  • new preview: ~ 5sec (constant)
  • update preview: ~ 5sec (constant)
    v3.2.0
  • new preview: 8~12sec (variable)
  • update preview: 14~40sec (variable)

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 discussion Disccussion on new features, projects, etc... ✨ enhancement
Projects
None yet
Development

No branches or pull requests

2 participants