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

Unified Diff: runtime/vm/compiler_stats.h

Issue 135123011: Introduce cache of resolved names in library (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler_stats.h
===================================================================
--- runtime/vm/compiler_stats.h (revision 32384)
+++ runtime/vm/compiler_stats.h (working copy)
@@ -15,7 +15,6 @@
DECLARE_FLAG(bool, compiler_stats);
-
class CompilerStats : AllStatic {
public:
static intptr_t num_tokens_total;
@@ -26,6 +25,11 @@
static intptr_t num_tokens_rewind;
static intptr_t num_tokens_lookahead;
+ static intptr_t num_lib_cache_hit;
+ static intptr_t num_names_cached;
+ static intptr_t make_accessor_name;
+ static intptr_t make_field_name;
+
static intptr_t src_length; // Total number of characters in source.
static intptr_t code_allocated; // Bytes allocated for generated code.
static Timer parser_timer; // Cumulative runtime of parser.
« no previous file with comments | « no previous file | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698