Permalink
Browse files

Log ReactContext counters

Reviewed By: AaaChiuuu

Differential Revision: D4501870

fbshipit-source-id: 97a5ece611a8d0d4049c63306382f56cac90434b
  • Loading branch information...
alexeylang authored and facebook-github-bot committed Feb 28, 2017
1 parent 0097ab9 commit 1744639ad7a8cf0ad1f2d0ce6aaaed30e8a7c703
@@ -775,7 +775,7 @@ protected void calculateRootLayout(ReactShadowNode cssRoot) {
cssRoot.calculateLayout();
} finally {
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
mLayoutTimer = mLayoutTimer + ((double)System.nanoTime() - startTime)/ 1000000000.0;
mLayoutTimer = mLayoutTimer + ((double)System.nanoTime() - startTime) / 1000000.0;
mLayoutCount = mLayoutCount + 1;
}
}

0 comments on commit 1744639

Please sign in to comment.