kinetecharts / openPerform

Check out the various styles and effects OpenPerform has to offer with our BVH animation demo!
https://kinetecharts.github.io/openPerform/
MIT License
27 stars 5 forks source link

New Styles like Sketch & AfterImage render rather slowly #26

Closed lettucehead closed 5 years ago

lettucehead commented 5 years ago

Changing styles affects performance lots.

(FWIW I am on a Pixelbook w/ i5-7Y57 CPU @ 1.20GHz chipset.)

Open https://kinetecharts.github.io/openPerform/ In "Render Style" on lower-right click to open. Select "Change Style" and select e.g. Sketch or AfterImage.

Expected behavior: It should be just as fast.

Actual behavior: It's laggy (frames being dropped?).

Here's a screencast: https://drive.google.com/file/d/1-t_vaZw8yGBrR_qsuvygXyvlMnbeQqvo/view You can see the performance improve (especially visible in feet) when switched to normal.

I guess using an i5 chip was a dumb idea. There's no issue on my Intel NUC w/ i7 and Iris 660.

PM for a trace of this issue by Chrome renderer.

jerknose commented 5 years ago

Two things:

  1. This is expected behavior. Performance tuning should be a separate milestone task.
  2. Please use this template when filing bugs: https://github.com/kinetecharts/openPerform/blob/master/.github/ISSUE_TEMPLATE/bug_report.md