perfyjs / perfy

The perfect companion for Benchpress Performance Toolkit ✨✨✨
https://perfyjs.github.io/perfy/
3 stars 1 forks source link

feat(chart): add realtime charts #2

Open manekinekko opened 8 years ago

manekinekko commented 8 years ago

We should be able to view realtime perf logs gathered by benchpress:

douglasduteil commented 8 years ago

Is it actually possible to time box all the tests ? I mean can we always ask the test to last n seconds ?

manekinekko commented 8 years ago

Nope. But we can work around that. For now, Perfy does merge the generated json files (by benchpress) after each spec iteration. So my vision is : 1) Perfy can start polling those merged files and plot them. 2) We can update the spec file to emit a socket message through Web Sockets and use that on the client to plot the charts 3) To avoid writing all those files on disk after each spec iteration, I wanna upgrade Benchpress so it can emit those samples (of each iteration) using may be the event emitter api.

On Sun, Nov 6, 2016, 23:00 Douglas Duteil notifications@github.com wrote:

Is it actually possible to time box all the tests ? I mean can we always ask the test to last n seconds ?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/manekinekko/perfy/issues/2#issuecomment-258714181, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnuHWfxVQ1nrKuOd1R0KfJtCx96K54Oks5q7k3ggaJpZM4Kqph1 .

Wassim Chegham Developer Advocate at SFEIR Google Developer Expert in Web Technologies http://fr.linkedin.com/in/wassimchegham http://twitter.com/manekinekko http://plus.google.com/+WassimCheghamJavaScript/posts http://flickr.com/photos/manekinekko/albums/ http://github.com/manekinekko http://wassimchegham.com/feed http://wassimchegham.com/ http://www.meetup.com/members/135357292/ http://slides.com/wassimchegham/