News for hackers. Stuff that matters.
Re:Web Tracing Framework by Google by arturhoo on Saturday August 03, 2013 @07:26AM (#6151802)
Putting the project itself aside (which does seem quite useful), am I the only one who finds it intriguing the fact that Google is not using Google Code to host some of their recent open source projects?
Re:Web Tracing Framework by Google by patrickaljord on Saturday August 03, 2013 @07:41AM (#6151825)
Not really surprising. The goal of this project is to help developers make their web apps faster, not to make google code more popular. What's good for the web in general is good for Google and more important than the popularity of a product that doesn't make them much money anyway (google code).
Re:Web Tracing Framework by Google by randomfool on Saturday August 03, 2013 @10:14AM (#6152117)
I believe this is the general guidance for new projects- see https://github.com/polymer and https://github.com/dart-lang as well.

GitHub is just much better for collaboration.

Re:Web Tracing Framework by Google by ra on Saturday August 03, 2013 @09:51AM (#6152056)
Google Code was a breakthrough in it's time (remember Sourceforge?).

Today if you want your open source project to be noticed, you pretty much have to push it to Github.

Re:Web Tracing Framework by Google by Flenser on Tuesday August 06, 2013 @09:19AM (#6166368)
It would be great if there was a tool to push/pull projects from Google Code to Github that handled not just moving the code but migrating issues and wiki content all the other details that aren't straightforward but could be automated like creating a gh-pages site for the project, migrating downloads, notifying/adding project admins, emailing issue watchers, etc. Even better if Google and Github collaborated so that it could handle redirecting traffic.
Re:Web Tracing Framework by Google by mapleoin on Saturday August 03, 2013 @08:31AM (#6151915)
Not really new. See also: https://github.com/google
Re:Web Tracing Framework by Google by alokm on Saturday August 03, 2013 @08:32AM (#6151916)
That would have suggested dominance of bureaucracy in Google. Guidelines suggesting projects to be put on Google Code, etc. This seems more decentralized.
Re:Web Tracing Framework by Google by simula67 on Saturday August 03, 2013 @08:51AM (#6151946)
Usually the justifications these companies give for such mandates is how it would look to outsiders if they are not using their own tools.

On the other hand I remember reading about how Google has a corporate mandate that their employees cannot use Microsoft Windows without providing a business justification.

Re:Web Tracing Framework by Google by chaz on Saturday August 03, 2013 @09:59AM (#6152076)
AFAIK, the requirement is due to security concerns from the China hacks in 2010. The way Sergey Brin put it in 2011, it sounds like employees have the option. On the number of employees using Windows: "I’d probably guess 20 percent ... But I’d have to get back to you."

http://www.ft.com/intl/cms/s/2/d2f3f04e-6ccf-11df-91c8-00144... http://techcrunch.com/2011/05/11/googlers-windows/

Re:Web Tracing Framework by Google by draz on Saturday August 03, 2013 @09:28AM (#6152018)
Is the next step mandating Chromebooks (unless an Apple machine is justifiable)?
Re:Web Tracing Framework by Google by ams6110 on Saturday August 03, 2013 @12:56PM (#6152588)
One would assume that since they develop Chrome for windows, they would have some number of devs using windows.
Re:Web Tracing Framework by Google by andyroid on Saturday August 03, 2013 @03:13PM (#6153016)
Yes, that would be "providing a business justification".
Re:Web Tracing Framework by Google by ignorant_tables on Saturday August 03, 2013 @02:44PM (#6152889)
How do people make those snazzy ascii diagrams (they're in a lot of github pages) like this: http://snag.gy/LqA7j.jpg

Page: http://google.github.io/tracing-framework/overview.html

Re:Web Tracing Framework by Google by allengeorge on Saturday August 03, 2013 @02:58PM (#6152954)
My guess? Asciiflow (http://www.asciiflow.com)
Re:Web Tracing Framework by Google by ics on Saturday August 03, 2013 @11:32PM (#6154532)
Neat. If you want something similar offline there should be a couple emacs packages that do essentially the same thing (e.g. artist-mode).
Re:Web Tracing Framework by Google by danmaz74 on Saturday August 03, 2013 @07:41AM (#6151826)
I find it very positive.
Re:Web Tracing Framework by Google by dstaley on Saturday August 03, 2013 @11:22AM (#6152339)
I hate to ask what I think is probably a stupid question, but: how are they creating that animation? It's not a simple .gif, and it looks like they're using something akin to a sprite: http://google.github.io/tracing-framework/resources/anim_ind...

Edit: Looks like it's a modified version of Sublime's animation (https://news.ycombinator.com/item?id=4532146).

Re:Web Tracing Framework by Google by evan_ on Saturday August 03, 2013 @01:14PM (#6152625)
Here's the repo with the modified version of the Sublime text animation engine: https://github.com/benvanik/anim_encoder
Re:Web Tracing Framework by Google by k-mcgrady on Saturday August 03, 2013 @07:59AM (#6151853)
Great that it can support Chrome on Android for analysing mobile sites.
Re:Web Tracing Framework by Google by octatone2 on Saturday August 03, 2013 @08:01AM (#6151860)
The HUD does not display/inject properly on our JS web app wunderlist. Wouldn't it make sense that the HUD controls existed outside the scope of the page's DOM? e.g. available in the [wtf] extension popover itself or as context menu items? Or as a dev tools tab?
Re:Web Tracing Framework by Google by packetslave on Saturday August 03, 2013 @02:58PM (#6152953)
Have you opened a bug and/or a feature request? I'm sure the team would love to hear that it isn't working for you (since that probably means it isn't working for someone else as well)

https://github.com/google/tracing-framework/issues

Re:Web Tracing Framework by Google by octatone2 on Saturday August 03, 2013 @08:01AM (#6151862)
I really want to test drive this! :)
Re:Web Tracing Framework by Google by stephen on Saturday August 03, 2013 @09:29AM (#6152020)
Looks similar to SpeedTracer...is it related at all? The replacement?
Re:Web Tracing Framework by Google by kjhughes on Saturday August 03, 2013 @09:55AM (#6152066)
Good question. So, there's this new Web Tracing Framework:

http://google.github.io/tracing-framework/

And Speed Tracer, as you mention:

https://developers.google.com/web-toolkit/speedtracer/

And also PageSpeed Tools:

https://developers.google.com/speed/pagespeed/

I'm surprised they don't address the distinction, history, or evolution plan anywhere prominently.

Re:Web Tracing Framework by Google by spyder on Saturday August 03, 2013 @10:45AM (#6152209)
Also there is TraceGL which seems to be less about performance tuning and more about debugging and it's not free but looks like a great tool. https://trace.gl/
Re:Web Tracing Framework by Google by smanuel on Saturday August 03, 2013 @08:39AM (#6151931)
Web Tracing Framework a.k.a. WTF. Looks cool btw.
Re:Web Tracing Framework by Google by jplur on Saturday August 03, 2013 @04:08PM (#6153184)
Very useful! Semi-related question: is there a way to profile the stack within a requestAnimationFrame callback? I seem to remember having access to it in earlier versions of chrome, but now I just see the callback and garbage collection events if present.
Re:Web Tracing Framework by Google by abalone on Saturday August 03, 2013 @03:29PM (#6153064)
Best. Acronym. Ever.
Re:Web Tracing Framework by Google by cobbal on Saturday August 03, 2013 @05:44PM (#6153531)
I'm not sure, could get confused with the web template framework in WebKit.

https://github.com/WebKit/webkit/tree/master/Source/WTF/wtf

Re:Web Tracing Framework by Google by WayneDB on Saturday August 03, 2013 @12:26PM (#6152515)
I'm so happy that I get to do mostly native apps. Building a good UI is hard enough without having to shoe-horn HTML into doing things it was never intended to do.
Re:Web Tracing Framework by Google by magicalist on Saturday August 03, 2013 @04:13PM (#6153207)
Yes, it sure is great that you never have to profile performance, trace call stacks, or find out where your heap is going in native app development.

Did people voting up this comment just not read the linked docs, or do you maybe not have the context to understand what this library does?

It instruments your code so you can get call stack traces with timing information associated. Unless your calls into the DOM are blocking, they aren't going to show up there (that's what the browser dev tools are for). There's a reason that the only HTML element explicitly mentioned in the docs is the canvas element. It even says, explicitly, "Though it's certainly useful to see the ways your application is interacting with the browser and vice versa, often there is much more work occurring within your call trees than not."

This has almost nothing to do with HTML. It's a profiling tool for a garbage-collected scripting language, and it looks more than a little useful.

Re:Web Tracing Framework by Google by WayneDB on Saturday August 03, 2013 @05:58PM (#6153577)
For native front-ends most of that work has been done for me already though. I can't remember the last time I've had to worry about performance profiling or heap management in a native front-end - and we build iOS, Android and Windows apps that process huge amounts of (medical) data. Hell, I don't even have to make my own animations to have good looking apps because that's all built into the rich native components that I use.

On native platforms - if I stick to standard, well-known, stable components and if I follow good coding practices and recommended techniques - my apps are fast by default. And I'm just gluing things together most of the time. Easy, scrumptious pie! I can save the work of "squeezing every drop of performance out of my code" for back-end processes.

Things just work for the most part - unlike the web where half the sites that try to do something "fancy" like fixed elements just serve to make scrolling slow and clunky - hence the need for this tool.