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

Perf Testing Compared to Default D3 Interpolation #4

Open
emeeks opened this issue Jun 12, 2017 · 1 comment
Open

Perf Testing Compared to Default D3 Interpolation #4

emeeks opened this issue Jun 12, 2017 · 1 comment

Comments

@emeeks
Copy link

emeeks commented Jun 12, 2017

I think it would be helpful if the documentation gave folks some sense of the performance of the interpolations with the segment options so they could plan accordingly. Right now I feel like I'm evaluating on a case-by-case basis which probably doesn't make sense for everyone.

@veltman
Copy link
Owner

veltman commented Jun 12, 2017

Some benchmarks would be great. It'll be a little hard to avoid the case-by-case experimentation right now because the impact of maxSegmentLength depends on the particulars of the geometry and the coordinate space. But in v1 I'll probably turn this option into a relative value (e.g. maxSegmentLength: 0.1 = no segment can be longer than 10% of the total perimeter), which would reduce the guesswork.

Also need to investigate whether reducing the precision of coordinates in the generated path strings affects performance at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants