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

Unified Diff: runtime/vm/benchmark_test.cc

Issue 2329003002: Adds InitialRSS benchmark (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/benchmark_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/benchmark_test.cc
diff --git a/runtime/vm/benchmark_test.cc b/runtime/vm/benchmark_test.cc
index b63069884539336b79bba6417d0ca8e50b67bb06..0dcfa2b9aebe81a272f59a8a3eb6a644e8996743 100644
--- a/runtime/vm/benchmark_test.cc
+++ b/runtime/vm/benchmark_test.cc
@@ -730,4 +730,9 @@ BENCHMARK(LargeMap) {
benchmark->set_score(elapsed_time);
}
+
+BENCHMARK_MEMORY(InitialRSS) {
+ benchmark->set_score(OS::MaxRSS());
+}
+
} // namespace dart
« no previous file with comments | « runtime/vm/benchmark_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698