graphql-compose / graphql-perf

Gather performance information from GraphQL resolve methods and prepare JSON in Trace Event Format for Chrome Devtools Timeline tab.
24 stars 1 forks source link

Apollo Stack work in the area #1

Open eugene1g opened 7 years ago

eugene1g commented 7 years ago

This sounds like a great initiative. Just thought I'd mention https://github.com/apollostack/graphql-tracer which is roughly in the same area (tracing + timing Node GraphQL requests), thought I love the idea of supporting Trace Event Format here.

nodkz commented 7 years ago

Thanks. I saw their tracer, but will write own due Event Format. It means completely rewrite profiler.

Current my aims:

I'll try to start it at the end of November. Too much work right now.


Did you have experience with Trace Event Format? Maybe can recommend additional sources/articles?

eugene1g commented 7 years ago

I only briefly evaluated tracer as I'm doubling down on graphql, and can't really recommend any valuable resources. Decided not to use it in favour of project-specific hooks, and in retrospect that was a mistake as it caused a lot of mess.

I think tracking graphql event lifecycles is a hugely important and underserved area. Tracer appears to be on ice for a few months, and I'm glad there is someone else is tacking this - especially with your experience. I'll be keeping an eye on the repo and could test concepts against my codebase.

stubailo commented 7 years ago

By the way, Optics (the new name for Tracer) works with any Node.js server, including express-graphql.