Live data from Hacker News

Magic-trace – High-resolution traces of what a process is doing

github.com

121–130 of 146 posts

Re: Magic-trace – High-resolution traces of what a process is doing

#121
post #16

Earlier quoted context omitted.

I'm curious about why Standard ML (SML) was chosen for this project, given the track record Jane Street has with OCaml. Do you seen an advantage for using the former in this kind of project?

It's all OCaml, GitHub is just misclassifying it as SML :)

Hint[1] in case you’re ever in this situation:

  echo '*.ml  linguist-language=OCaml' >> .gitattributes
  echo '*.mli linguist-language=OCaml' >> .gitattributes
[1] https://github.com/github/linguist/blob/master/docs/override...

Re: Magic-trace – High-resolution traces of what a process is doing

#122
post #59
post #2

Hi HN! I'm Clark, one of the maintainers of magic-trace. magic-trace was submitted before, our first announcement was this blog post: https://blog.janestreet.com/magic-trace/ . Since then, we've worked hard at making magic-trace more accessible to outside users. We've heard stories of people thinking this was cool before but being unable to even find a download link. I'm posting this here because we just released "ve…

Windows has Windows Performance Analyzer, GPUView and PIX so most game devs are covered on that front :)

[deleted]

Re: Magic-trace – High-resolution traces of what a process is doing

#123

Earlier quoted context omitted.

I've recently stumbled on Google's Perfetto in the last few months. Very very nice UI. I've been using it with viztracer for Python.

This tool is a fork of Perfetto.

Right, yeah I definitely recognized it in the screenshots.

Re: Magic-trace – High-resolution traces of what a process is doing

#124
post #16

Earlier quoted context omitted.

It's all OCaml, GitHub is just misclassifying it as SML :)

Hint[1] in case you’re ever in this situation: echo '*.ml linguist-language=OCaml' >> .gitattributes echo '*.mli linguist-language=OCaml' >> .gitattributes [1] https://github.com/github/linguist/blob/master/docs/override...

Thank you for this. I've made the change, but it looks like it may be several days before github gets around to refreshing the language statistics.

Re: Magic-trace – High-resolution traces of what a process is doing

#125

Earlier quoted context omitted.

Does that cover the entire financial industry?

Not necessarily. Companies that facilitate trades (eg, E-Trade) don't fall in this category, because their business model is about providing a service to regular people. Jane Street is a proprietary trading firm. They have no external customers to whom they would provide goods or services. Their primary purpose is to invest the company's own money.

I think an economist would say market makers reduce the volatility of a market, which does benefit regular people.

Re: Magic-trace – High-resolution traces of what a process is doing

#126

Earlier quoted context omitted.

Yes, this is pretty much it. As I said in another comment, Jane Street does not have customers for whom they provide goods or services. Their primary business model is using the company's own money for investments, and that's a business model that I don't love.

Company spends its own money to make money for itself? Not exploiting teenagers in some 3rd world country? Not gambling with your pension? Not manipulating some physical commodity like oil? What’s the problem here?

> Not exploiting teenagers in some 3rd world country?

> Not gambling with your pension?

> Not manipulating some physical commodity like oil?

There is no reason to believe #1 and #3 aren't true, and I should very much suspect they are. #2 is not possible as far as I can tell, I agree there.

Re: Magic-trace – High-resolution traces of what a process is doing

#127
,,magic-trace.org is a fork of Perfetto, with minor modifications. We'd like to thank the people at Google responsible for it. It's a high quality codebase that solves a hard problem well.''

https://perfetto.dev

I don't like that this comment is hidden on the bottom of the page, as my first impression of the page was that the work of creating the high frequency trace was done by Jane Street (I don't like it in the other direction either, when a big company ,,rebrands'' what a person/small company does).

Re: Magic-trace – High-resolution traces of what a process is doing

#128

,,magic-trace.org is a fork of Perfetto, with minor modifications. We'd like to thank the people at Google responsible for it. It's a high quality codebase that solves a hard problem well.'' https://perfetto.dev I don't like that this comment is hidden on the bottom of the page, as my first impression of the page was that the work of creating the high frequency trace was done by Jane Street (I don't like it in the ot…

The trace-producing part of magic-trace is built on top of the more primitive Intel Processing Trace feature, not perfetto. It's still standing on the shoulder of a giant for sure, but few people would be able to effectively utilize Intel Processing Trace without the ergonomic improvements.

perfetto is "just" the profiler UI.

Re: Magic-trace – High-resolution traces of what a process is doing

#129
post #59
post #2

Hi HN! I'm Clark, one of the maintainers of magic-trace. magic-trace was submitted before, our first announcement was this blog post: https://blog.janestreet.com/magic-trace/ . Since then, we've worked hard at making magic-trace more accessible to outside users. We've heard stories of people thinking this was cool before but being unable to even find a download link. I'm posting this here because we just released "ve…

Windows has Windows Performance Analyzer, GPUView and PIX so most game devs are covered on that front :)

Do people still use GPUView? It hasn't seen a lot of development in years AFAIK and wondered if it was still working and useful.

PIX is great! It gets regular updates and an active and responsive Discord channel.

Post reply on HN