Skip to content

JSEmbeddingProvider is using up CPU time in java files without JS #8419

@mbien

Description

@mbien

Noticed this while profiling #8411, after the hints are done computing, something else is using up resources (very noticeable in large file benchmarks). It turned out to be editor/htmlui. (#380)

Maybe this can be improved somehow - assuming it still does what it should.

reproducer:

async profiler flamegraph of the phase right after hint processing shows the codepaths.

many-classes-js-module.html.txt

Committer

  • I acknowledge that I am a maintainer/committer in the Apache NetBeans project.

Metadata

Metadata

Labels

Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)JavaScript[ci] enable web job and extra JavaScript tests (webcommon/javascript2.editor)hintsperformance

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions