luau/bench
vegorov-rbx 443903aa00
Sync to upstream/release/615 (#1175)
# What's changed?

* Luau allocation scheme was changed to handle allocations in 513-1024
byte range internally without falling back to global allocator
* coroutine/thread creation no longer requires any global allocations,
making it up to 15% faster (vs libc malloc)
* table construction for 17-32 keys or 33-64 array elements is up to 30%
faster (vs libc malloc)

### New Type Solver

* Cyclic unary negation type families are reduced to `number` when
possible
* Class types are skipped when searching for free types in unifier to
improve performance
* Fixed issues with table type inference when metatables are present
* Improved inference of iteration loop types
* Fixed an issue with bidirectional inference of method calls
* Type simplification will now preserve error suppression markers

### Native Code Generation

* Fixed TAG_VECTOR skip optimization to not break instruction use counts
(broken optimization wasn't included in 614)
* Fixed missing side-effect when optimizing generic loop preparation
instruction

---

### Internal Contributors

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>

---------

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@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>
2024-03-01 10:45:26 -08: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 Fixed the backwards compatible benchmark support library require (#1125) 2023-12-04 12:48:31 -08: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/581 (#958) 2023-06-16 10:35:18 -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