luau/bench
Andy Friesen a251bc68a2
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
Sync to upstream/release/650 (#1502)
* New `vector` library! See https://rfcs.luau.org/vector-library.html
for details
* Replace the use of non-portable `strnlen` with `memchr`. `strnlen` is
not part of any C or C++ standard.
* Introduce `lua_newuserdatataggedwithmetatable` for faster tagged
userdata creation of userdata with metatables registered with
`lua_setuserdatametatable`

Old Solver

* It used to be the case that a module's result type would
unconditionally be inferred to be `any` if it imported any module that
participates in any import cycle. This is now fixed.

New Solver

* Improve inference of `table.freeze`: We now infer read-only properties
on tables after they have been frozen.
* We now correctly flag cases where `string.format` is called with 0
arguments.
* Fix a bug in user-defined type functions where table properties could
be lost if the table had a metatable
* Reset the random number seed for each evaluation of a type function
* We now retry subtyping arguments if it failed due to hidden variadics.

---------

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: David Cope <dcope@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
Co-authored-by: Junseo Yoo <jyoo@roblox.com>
2024-11-01 12:06:07 -07:00
..
gc Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
micro_tests Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
other Sync to upstream/release/615 (#1175) 2024-03-01 10:45:26 -08:00
tests Sync to upstream/release/650 (#1502) 2024-11-01 12:06:07 -07:00
bench_support.lua Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08:00
bench.py Sync to upstream/release/648 (#1477) 2024-10-18 10:27:15 -07:00
color.py Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
influxbench.py Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
install.bat Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
install.sh Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
measure_time.py Added multi-os runners for benchmark & implemented luau analyze (#542) 2022-06-24 09:46:29 -07:00
tabulate.py Sync to upstream/release/593 (#1024) 2023-09-01 10:58:27 -07:00