Skip to content

Performance slows considerably as more questions are added to the map #26

@paxtonfitzpatrick

Description

@paxtonfitzpatrick

As you progress through questions and accumulate more and more points on the map, the time it takes for the site to (after selecting an answer to the current question) mark the chosen answer as correct/incorrect (red/green), add its point to the map, update the computed knowledge values, and become responsive again grows. At ~100 questions (~40% of "all (general)" domain mapped), the page is unresponsive for ~3 seconds. Could be due to some implementation detail, or something fundamental about how the runtime of the map-updating calculation scales. If the latter and there isn't a straightforward way to make incremental updates to the knowledge values rather than fully recomputing each time, then this should be done asynchronously so it doesn't block the quicker UI changes (coloring answers red/green, progressing if auto-advance is enabled, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions