To improve performance on traces with many spans, use the [canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) to render the trace mini-map instead of SVG elements.