luau/bench/micro_tests
vegorov-rbx 76f67e0733
Sync to upstream/release/588 (#992)
Type checker/autocomplete:
* `Luau::autocomplete` no longer performs typechecking internally, make
sure to run `Frontend::check` before performing autocomplete requests
* Autocomplete string suggestions without "" are now only suggested
inside the ""
* Autocomplete suggestions now include `function (anonymous autofilled)`
key with a full suggestion for the function expression (with arguments
included) stored in `AutocompleteEntry::insertText`
* `AutocompleteEntry::indexedWithSelf` is provided for function call
suggestions made with `:`
* Cyclic modules now see each other type exports as `any` to prevent
memory use-after-free (similar to module return type)

Runtime:
* Updated inline/loop unroll cost model to better handle assignments
(Fixes https://github.com/Roblox/luau/issues/978)
* `math.noise` speed was improved by ~30%
* `table.concat` speed was improved by ~5-7%
* `tonumber` and `tostring` now have fastcall paths that execute ~1.5x
and ~2.5x faster respectively (fixes #777)
* Fixed crash in `luaL_typename` when index refers to a non-existing
value
* Fixed potential out of memory scenario when using `string.sub` or
`string.char` in a loop
* Fixed behavior of some fastcall builtins when called without arguments
under -O2 to match original functions
* Support for native code execution in VM is now enabled by default
(note: native code still has to be generated explicitly)
* `Codegen::compile` now accepts `CodeGen_OnlyNativeModules` flag. When
set, only modules that have a `--!native` hot-comment at the top will be
compiled to native code

In our new typechecker:
* Generic type packs are no longer considered to be variadic during
unification
* Timeout and cancellation now works in new solver
* Fixed false positive errors around 'table' and 'function' type
refinements
* Table literals now use covariant unification rules. This is sound
since literal has no type specified and has no aliases
* Fixed issues with blocked types escaping the constraint solver
* Fixed more places where error messages that should've been suppressed
were still reported
* Fixed errors when iterating over a top table type

In our native code generation (jit):
* 'DebugLuauAbortingChecks' flag is now supported on A64
* LOP_NEWCLOSURE has been translated to IR
2023-07-28 08:13:53 -07:00
..
test_AbsSum_abs.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_AbsSum_and_or.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_AbsSum_math_abs.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Assert.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Factorial.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Failure_pcall_a_bar.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Failure_pcall_game_Foo.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Failure_xpcall_a_bar.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Failure_xpcall_game_Foo.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_LargeTableCtor_array.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_LargeTableCtor_hash.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_LargeTableSum_loop_index.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_LargeTableSum_loop_ipairs.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_LargeTableSum_loop_iter.lua Sync to upstream/release/526 (#477) 2022-05-05 17:03:43 -07:00
test_LargeTableSum_loop_pairs.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_MethodCalls.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_OOP_constructor.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_OOP_method_call.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_OOP_virtual_constructor.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Pcall_call_return.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Pcall_pcall_return.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Pcall_pcall_yield.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_Pcall_xpcall_return.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_SqrtSum_exponent.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_SqrtSum_math_sqrt.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_SqrtSum_sqrt.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_SqrtSum_sqrt_getfenv.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_SqrtSum_sqrt_roundabout.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_string_lib.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_table_concat.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableCreate_nil.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableCreate_number.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableCreate_zerofill.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableFind_loop_ipairs.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableFind_table_find.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableInsertion_index_cached.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableInsertion_index_len.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableInsertion_table_insert.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableInsertion_table_insert_index.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableIteration.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMarshal_select.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMarshal_table_pack.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMarshal_table_unpack_array.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMarshal_table_unpack_range.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMarshal_varargs.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMove_empty_table.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMove_same_table.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableMove_table_create.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_TableRemoval_table_remove.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_ToNumberString.lua Sync to upstream/release/588 (#992) 2023-07-28 08:13:53 -07:00
test_UpvalueCapture.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
test_VariadicSelect.lua Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00