luau/bench/tests
Arseny Kapoulkine 53e6e4b8f0
Some checks failed
benchmark / callgrind (map[branch:main name:luau-lang/benchmark-data], ubuntu-22.04) (push) Has been cancelled
build / ${{matrix.os.name}} (map[name:macos version:macos-latest]) (push) Has been cancelled
build / ${{matrix.os.name}} (map[name:macos-arm version:macos-14]) (push) Has been cancelled
build / ${{matrix.os.name}} (map[name:ubuntu version:ubuntu-latest]) (push) Has been cancelled
build / windows (Win32) (push) Has been cancelled
build / windows (x64) (push) Has been cancelled
build / coverage (push) Has been cancelled
build / web (push) Has been cancelled
release / ${{matrix.os.name}} (map[name:macos version:macos-latest]) (push) Has been cancelled
release / ${{matrix.os.name}} (map[name:ubuntu version:ubuntu-20.04]) (push) Has been cancelled
release / ${{matrix.os.name}} (map[name:windows version:windows-latest]) (push) Has been cancelled
release / web (push) Has been cancelled
Fix mesh-normal-vector benchmark array access (#1514)
mesh-normal-scalar correctly fills sequential values in the output for
triangle cone function, but mesh-normal-vector accidentally reuses the
loop index, which results in writes to every third index of the array
(1, 4, etc.).

This is both slower (as the table turns into a hash map), and incorrect,
especially as we have a scalar version of the benchmark that does the
right thing.

Note: there's a bunch of inefficiencies in the benchmark code that I
have not fixed (around field access mostly, e.g. writing to `v.n` and
then immediately reading it again). These are not ideal for performance,
but they can be valuable to keep as is because this redundancy is common
in real-world code, and it would be nice to see codegen optimizations
eliminating most of that overhead. This one, however, is a straight up
bug, and sparse arrays should not really be the thing this benchmark
hits.
2024-11-11 12:39:09 -08:00
..
shootout Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
sunspider Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
base64.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
chess.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
life.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
matrixmult.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
mesh-normal-scalar.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
mesh-normal-vector.lua Fix mesh-normal-vector benchmark array access (#1514) 2024-11-11 12:39:09 -08:00
pcmmix.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
qsort.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
sha256.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
sieve.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
tictactoe.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
trig.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
vector-math.lua Sync to upstream/release/650 (#1502) 2024-11-01 12:06:07 -07:00
voxelgen.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00