summaryrefslogtreecommitdiff
path: root/simpleperf
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2024-02-05 17:26:14 -0800
committerYabin Cui <yabinc@google.com>2024-02-05 17:26:14 -0800
commit38fabf944b0c36349d2a456e09e4e6a790ceb0ae (patch)
treebfdb022d06b9eccd43543afff7018edef31cad35 /simpleperf
parent55117049fff502fa3c668fcd82f75eb301046800 (diff)
downloadextras-38fabf944b0c36349d2a456e09e4e6a790ceb0ae.tar.gz
simpleperf: report_html.py: show 100 rows in sampleTable by default
Bug: 322228003 Test: run report_html.py manually Change-Id: I38829ec82c647c4d524a0c996cc31eabef39ff54
Diffstat (limited to 'simpleperf')
-rw-r--r--simpleperf/scripts/report_html.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/scripts/report_html.js b/simpleperf/scripts/report_html.js
index 8203dd36..17f780fe 100644
--- a/simpleperf/scripts/report_html.js
+++ b/simpleperf/scripts/report_html.js
@@ -701,6 +701,7 @@ class SampleTableView {
let table = this.tableDiv.find('table');
let dataTable = table.DataTable({
lengthMenu: [10, 20, 50, 100, -1],
+ pageLength: 100,
order: [0, 'desc'],
data: data,
responsive: true,