@@ -180,11 +180,12 @@ const actions = {
180180remove,
181181filter,
182182update,
183- updateLargeObject1,
184- updateLargeObject2,
185183concat,
186184mapNested,
187185// dash-named fields to improve readability in benchmark results
186+
187+ "update-largeObject1" :updateLargeObject1 ,
188+ "update-largeObject2" :updateLargeObject2 ,
188189"update-high" :updateHigh ,
189190"update-multiple" :updateMultiple ,
190191"remove-high" :removeHigh ,
@@ -621,8 +622,8 @@ function createBenchmarks() {
621622"update-high" ,
622623"remove" ,
623624"remove-high" ,
624- "updateLargeObject1 " ,
625- "updateLargeObject2 "
625+ "update-largeObject1 " ,
626+ "update-largeObject2 "
626627]
627628for ( const action of reuseActions ) {
628629summary ( function ( ) {
@@ -1216,13 +1217,6 @@ function printOverallVersionRankings(versionScores) {
12161217return
12171218}
12181219
1219- console . log (
1220- "\nMethodology: Lower geometric mean = better overall performance"
1221- )
1222- console . log (
1223- "(Geometric mean is standard for benchmarking as it handles multiplicative performance differences)"
1224- )
1225-
12261220console . log ( "\n┌──────┬─────────────────────┬─────────────────┬───────────┐" )
12271221console . log ( "│ Rank │ Version │ Geometric Mean │ Scenarios │" )
12281222console . log ( "├──────┼─────────────────────┼─────────────────┼───────────┤" )
@@ -1241,22 +1235,6 @@ function printOverallVersionRankings(versionScores) {
12411235}
12421236
12431237console . log ( "└──────┴─────────────────────┴─────────────────┴───────────┘" )
1244-
1245- // Highlight top performers
1246- if ( versionScores . length >= 3 ) {
1247- console . log ( "\nTop Overall Performers:" )
1248- for ( let i = 0 ; i < Math . min ( 10 , versionScores . length ) ; i ++ ) {
1249- const score = versionScores [ i ]
1250- const [ versionName , freezeIndicator ] = score . version . split ( "|" )
1251- const shortName = shortenVersionName ( versionName )
1252- console . log (
1253- `${ i +
1254- 1 } .${ shortName } (${ freezeIndicator } ) -${ score . geometricMean . toFixed (
1255- 2
1256- ) } x average`
1257- )
1258- }
1259- }
12601238}
12611239
12621240function printBenchmarkSummaryTable ( benchmarks ) {