jlfwong / jlfwong/speedscope

RFC: pastila.nl (copy-paste service with end-to-end encryption) support in `profileURL`

Open
#540 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.8k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

Hello!

While I've been working on a [chdig](https://github.com/azat/chdig/) (`top` for `clickhouse`), I needed a way to share flamegraphs easily.

The problem is that speedscope can only open profiles via URLs, so you need some kind of copy-paste service to upload the profile and then generate a link like `https://www.speedscope.app/#profileURL=....`

There is already a copy-paste service with end-to-end encryption — pastila.nl (which is also built on top of ClickHouse). However, it requires JavaScript execution, so links from pastila.nl cannot be opened directly in speedscope at the moment.

But, it requires execution of JavaScript, so you won't be able to open links from pastila.nl in speedscope right now.

Since I do not write in TypeScript/JavaScript, I've asked Claude to implement it here - https://github.com/azat-ch/speedscope/pull/2 (it just copy-paste the logic of pastila.nl)

Will you be interested in this integration?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.