Hacker News new | past | comments | ask | show | jobs | submit | laixintao's comments login

> Anyone have ideas for a better format?

Hi, how about flamegraph? I always want to display the file hierarchy in flamegraph like format.

- previous discussion: https://x.com/laixintao/status/1744012609983295816

- my work display flamegraph in terminal: https://github.com/laixintao/flameshow


Yes, for now I didn't find any standard format of samples dump.

I already figure out how to integrate with golang's pprof, seems I need to work with other perf tools as well.

I am thinking about adding a flag like `--input-format=pprof` for different outputs.


Go pprof for now.

Let me check those tools, thank you very much!

I support if FlameGraph can render those, other tools should be able to interpret the dump as well.


For now, golang only.

But I am working on other supports.

Is there any common format for flamegraph (stacks), or should I do the work for all tools and languages?


Historically brendangregg's since AIUI he basically invented flamegraphs

https://www.brendangregg.com/flamegraphs.html

So if you can make your tool eat whatever https://github.com/brendangregg/FlameGraph is fed with you're going to support a lot of existing tooling across OSes and languages.


I find py-spy really useful in python, it would be neat if you integrated with that somehow.


Hi teddyh, like wey-gu mentioned, I am the author of this original Chinese version post, I think this English version was translated by machine instead of human.

You can see from the original post[0], I add a link, a description and credits to every image that not created by me.

However, I accept all other technical criticism under this threads, I didn't dig deep enough while writing this. I will learn more.

0: https://www.kawabangga.com/posts/4515


Thank for reporting this, I have to admit that I havn't test it under TLS ehouth. I will fix it ASAP.


Hi fiatjaf,

This feature has been implemented and released on v1.2, please give it a try!

Also, you can store dsn alias on config, check it out: https://github.com/laixintao/iredis#using-dsn


Great, iredis --url will save my life, thank you!


Hi! Will add this feature.

Also, a new feature called alias_dsn was on the way.

https://github.com/laixintao/iredis/issues/268


Yes currently iredis won't send any command secretly, behave like redis-cli. The completion is based on history.


Yes, have look at the project page: iredis.io/

You may also like https://www.dbcli.com/ (actually iredis is joining dbcli)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: