flubber icon indicating copy to clipboard operation
flubber copied to clipboard

Perf Testing Compared to Default D3 Interpolation

Open emeeks opened this issue 8 years ago • 1 comments

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.

emeeks avatar Jun 12 '17 15:06 emeeks

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.

veltman avatar Jun 12 '17 16:06 veltman