r/programming • u/willvarfar • Aug 03 '13
Google's new tracing framework for tuning web apps
http://google.github.io/tracing-framework/19
u/iamapizza Aug 03 '13
Another potentially great tool from google in their typical style of documentation. (Forgive me, I've been doing Angular recently and a lot of the docs look like that...)
2
Aug 04 '13 edited Aug 04 '13
Hey, there's a potential $5000 google summer of code project for some college kid.
Edit: My bad, I just learned they don't accept documentation-only proposals.
1
3
u/IneverSaidThat Aug 03 '13
At least the source code seem thoroughly commented.
I wish I could say the same thing for the Ember.JS internals..
8
Aug 03 '13
I'm more interested in how that demo image works, because it's not an animated GIF/whatever, but an some sort of map instead with all static shots in it and then animated. Seems like quite the algorithm for encoding movies?
12
u/t-mu Aug 03 '13
Pretty interesting actually. Looks like it's a derivation from this one http://www.sublimetext.com/~jps/animated_gifs_the_hard_way.html
5
u/ishkeebibels Aug 03 '13
I haven't looked yet, but I'm going to take a shot in the dark by assuming this is the same technique used on the ST website.
1
u/ysangkok Aug 05 '13
Only works well if a small subset of the image changes within frames. This is animation (as in GIF), not video.
1
u/x-skeww Aug 05 '13
Seems like quite the algorithm for encoding movies?
Yes, lossless codecs usually work like that. This is similar. The difference is that those tiles are then tightly packed into one or several sprite sheets or texture atlases instead of being simply dumped into the stream.
0
u/fudeu Aug 04 '13
porn sites do that for decades.
4
u/Flight714 Aug 04 '13
Have you actually verified this assertion, by opening up a porn site and leaving the computer running for at least 20 years?
1
u/ysangkok Aug 05 '13
1
u/fudeu Sep 13 '13
LOL. he was joking man... changing the meaning of "doing that since decades" to "doing that for decades long"
... hope. otherwise this place is going down by the second.
5
3
u/fnord123 Aug 03 '13 edited Aug 03 '13
I don't do much web development but it looks like a tidy interface. As it can do remote Android tracing, it would be cool if it could work by accepting a provider interface like handling valgrind's memtool format. Or some probes format where you log trace points in your project (e.g. in go, C, or Python or what have you).
3
2
2
Aug 03 '13
ELI5 what is this?
11
Aug 03 '13 edited Aug 03 '13
It breaks down your code and analyzes how long it takes to execute each little thing, then visualizes it so you can easily see what parts of your code run the slowest and need tweaking. Super useful for optimizing your software.
-3
-4
u/fudeu Aug 04 '13
something already available before but now with a spiffy interface. So people here can finally notice it and comment how it willchange their life.
0
Aug 03 '13
[deleted]
17
u/kennydude Aug 03 '13
No, github.io is just static hosting.
And the reason it's identical, is because it's using Bootstrap
2
u/Fredifrum Aug 03 '13 edited Feb 17 '26
This post was mass deleted and anonymized with Redact
languid subtract tie seemly squeeze distinct roof light subsequent racial
5
u/CH0K3R Aug 03 '13
Twitter made Bootstrap, not Github or Google...
2
u/Fredifrum Aug 03 '13 edited Feb 17 '26
This post was mass deleted and anonymized with Redact
cows lock gaze placid divide amusing memory grab special lavish
1
u/redwall_hp Aug 04 '13
Bootstrap is actually used by Twitter internally. It's the framework underlying their own design.
1
u/SeaCowVengeance Aug 04 '13
Yeah but this isn't a default bootstrap look. It's an obvious copy of twitter's page down to the background images, which just a color change. Wonder why they did this...
1
1
u/drabiter Aug 04 '13
For normal, random dev: "They're just lazy..."
For something like Google: "They spent more time in product dev, not web design!"
0
Aug 03 '13
[deleted]
10
u/dashed Aug 03 '13
I'd be more concerned with the devs spending more time on the tracing framework than coming up with an original web design to present their project. Regardless how monotonous the design may be; it's at least presentable.
3
u/hc5duke Aug 03 '13
it's at least presentable.
Seriously. Have people already forgotten about how ugly Apache project homepages are?
(one exception, but it didn't start out as an Apache project.)
2
9
u/plexxonic Aug 03 '13
Why reinvent the wheel?
0
Aug 03 '13
[deleted]
8
u/clothes_are_optional Aug 03 '13
i'd have to kind of agree with this. i get and agree the "why reinvent the wheel" argument, but i also kind of get tired of seeing every website use bootstrap looking the same. but its whatever in the end. i'm more concerned about it working well
0
48
u/willvarfar Aug 03 '13 edited Aug 03 '13
Web Tracing Framework (WTF?)
And hosted on github, not Google Code?
Anyway, seriously, can't wait to try this out on my code.
Anyone know if its able to help profile and debug web workers?
The tooling for web workers has been non-existent and it makes them almost impossible to actually develop; even the normal built-in developer tools in both Chrome and FF provide zero coverage :(