Skip to content

Commit 7a12325

Browse files
committed
fix windows lint and add more pprof CLI output
1 parent 8763918 commit 7a12325

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.prettierrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
// limitations under the License.
1414

1515
module.exports = {
16+
endOfLine:"auto",
1617
...require('gts/.prettierrc.json')
1718
}

system-test/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,17 @@ node -v
6363
node --trace-warnings "$BENCHPATH" 10 $VERIFY_TIME_LINE_NUMBERS
6464

6565
if [[ "$VERIFY_TIME_LINE_NUMBERS" == "true" ]]; then
66+
pprof -lines -top -nodecount=2 time.pb.gz
6667
pprof -lines -top -nodecount=2 time.pb.gz | \
6768
grep "busyLoop.*src/busybench.js:33"
69+
pprof -filefunctions -top -nodecount=2 heap.pb.gz
6870
pprof -filefunctions -top -nodecount=2 heap.pb.gz | \
6971
grep "busyLoop.*src/busybench.js"
7072
else
73+
pprof -filefunctions -top -nodecount=2 time.pb.gz
7174
pprof -filefunctions -top -nodecount=2 time.pb.gz | \
7275
grep "busyLoop.*src/busybench.ts"
76+
pprof -filefunctions -top -nodecount=2 heap.pb.gz
7377
pprof -filefunctions -top -nodecount=2 heap.pb.gz | \
7478
grep "busyLoop.*src/busybench.ts"
7579
fi

0 commit comments

Comments
 (0)