Skip to content

Change the panning and zooming behavior for React-Stockcharts tests #97

@bgrins

Description

@bgrins

As @squarewave mentioned in #11 (comment), it's unrealistic to send i.e. 50 wheel events to paint 50 frames inside of a single request animation frame callback (

new BenchmarkTestStep("PanTheChart", (page) => {
).

We could consider breaking them up into a handful of steps where we one or a few events. I'm not sure if this would then cause issues on fast desktop hardware where the steps become too short to be effectively measured, but we should take a close look at our options.

I don't know if this is directly contributing to what @camillobruni was seeing with bimodal results in Chrome, but I know there have been some concerns with that as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions