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

Unified Diff: pkg/analysis_server/lib/src/status/get_handler.dart

Issue 2131303002: Validate only private sources, display statistics. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/status/get_handler.dart
diff --git a/pkg/analysis_server/lib/src/status/get_handler.dart b/pkg/analysis_server/lib/src/status/get_handler.dart
index 0e9a2ed666283a26546a43a6e6804959fb3b929d..67263f68de9415bdc68d2c2b9a43f80cc591d54f 100644
--- a/pkg/analysis_server/lib/src/status/get_handler.dart
+++ b/pkg/analysis_server/lib/src/status/get_handler.dart
@@ -812,6 +812,30 @@ class GetHandler {
classes: [null, "right"]);
}
buffer.write('</table>');
+
+ {
+ buffer.write('<p><b>Cache consistency statistics</b></p>');
+ buffer.write(
+ '<table style="border-collapse: separate; border-spacing: 10px 5px;">');
+ _writeRow(buffer, ['Name', 'Count'], header: true);
+ _writeRow(buffer, [
+ 'Modified',
+ PerformanceStatistics
+ .cacheConsistencyValidationStatistics.numOfModified
+ ], classes: [
+ null,
+ "right"
+ ]);
+ _writeRow(buffer, [
+ 'Deleted',
+ PerformanceStatistics
+ .cacheConsistencyValidationStatistics.numOfDeleted
+ ], classes: [
+ null,
+ "right"
+ ]);
+ buffer.write('</table>');
+ }
}, (StringBuffer buffer) {
//
// Write task model timing information.
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698