From 76acf02c34560a5b56f2852a94a3d0753bfd9961 Mon Sep 17 00:00:00 2001 From: Sen Hastings Date: Wed, 27 Jul 2022 21:14:44 -0500 Subject: [PATCH] support/scripts/pkg-stats: fixed sortGrid() performance sortGrid() has been rewritten to dynamically generate stylesheets with explicit grid-row properties to re-order the rows, instead of removing and reinserting the cells. Performance *should* now be comperable to sorttable.js. Signed-off-by: Sen Hastings Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 108 +++++++++++++++++++++----------------- 1 file changed, 60 insertions(+), 48 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index d3ec65edbb..d795131cef 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -744,60 +744,72 @@ html_header = """