luau/bench/micro_tests
Andy Friesen 0b2755f964
Sync to upstream/release/589 (#1000)
* Progress toward a diffing algorithm for types. We hope that this will
be useful for writing clearer error messages.
* Add a missing recursion limiter in `Unifier::tryUnifyTables`. This was
causing a crash in certain situations.
* Luau heap graph enumeration improvements:
    * Weak references are not reported
    * Added tag as a fallback name of non-string table links
* Included top Luau function information in thread name to understand
where thread might be suspended
* Constant folding for `math.pi` and `math.huge` at -O2
* Optimize `string.format` and `%*`
* This change makes string interpolation 1.5x-2x faster depending on the
number and type of formatted components, assuming a few are using
primitive types, and reduces associated GC pressure.

New type checker:

* Initial work toward tracking the upper and lower bounds of types
accurately.

Native code generation (JIT):

* Add IrCmd::CHECK_TRUTHY for improved assert fast-calls
* Do not compute type map for modules without types
* Capture metatable+readonly state for NEW_TABLE IR instructions
* Replace JUMP_CMP_ANY with CMP_ANY and existing JUMP_EQ_INT
* Add support for exits to VM with reentry lock in VmExit

---------

Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
2023-08-04 12:18:54 -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_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_SqrtSum_sqrt.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_StringInterp.lua Sync to upstream/release/589 (#1000) 2023-08-04 12:18:54 -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_index.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_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