Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: tools/deep_memory_profiler/visualizer/static/index.js

Issue 23777005: Modified directory preparing for app engine for dmprof visualizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 $(function() {
6 // Read original data and plot.
7 // TODO(junjianx): Make file path an argument.
8 $.getJSON('data/sample.json', function(jsonData) {
9 // Create model.
10 var profiler = new Profiler(jsonData);
11 // Create views subscribing model events.
12 var graphView = new GraphView(profiler);
13 var dropdownView = new DropdownView(profiler);
14 var menuView = new MenuView(profiler);
15
16 // initialize categories according to roots information.
17 profiler.reparse();
18 });
19 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698