Itamar Turner-Trauring on Nostr: Update: I now have a working Numba profiler prototype. Technically, "anything you can ...
Update: I now have a working Numba profiler prototype. Technically, "anything you can get a stack trace out of with gdb" profiler.
10ms sampling resolution seems like it'd work on most computers. The naive "launch gdb for every sample" gives me 700ms resolution, so this is a lot better.
Next is UX. I'm hoping I can do more than just full process profiling (Jupyter support would be very nice) but even that is useful.
#python
Published at
2024-01-26 20:22:17Event JSON
{
"id": "1af606c338e49bea1879ec742126be7b16962ab53c5c0f9384ea48ff35b5658d",
"pubkey": "fc6f873f819068577e57a7e99f3f825e465b64545d5ba633faa79d5e68f4efd3",
"created_at": 1706300537,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"proxy",
"https://hachyderm.io/users/itamarst/statuses/111824111998732681",
"activitypub"
]
],
"content": "Update: I now have a working Numba profiler prototype. Technically, \"anything you can get a stack trace out of with gdb\" profiler. \n\n10ms sampling resolution seems like it'd work on most computers. The naive \"launch gdb for every sample\" gives me 700ms resolution, so this is a lot better.\n\nNext is UX. I'm hoping I can do more than just full process profiling (Jupyter support would be very nice) but even that is useful.\n\n#python",
"sig": "35f2e333e3c1d37c06d069f90591798954d0ed398885fb499cc571f175220eb200e5dbc6feac00139b55494b1eeb8fab53dd92d2b2f23ad49ca9e7e0826d3400"
}