From b419d5530697dcbd0f83ee71c70a46199220071d Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 29 Mar 2021 15:08:15 -0700 Subject: [PATCH 1/4] Update 2021-03-29-luau-recap-march-2021.md --- docs/_posts/2021-03-29-luau-recap-march-2021.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_posts/2021-03-29-luau-recap-march-2021.md b/docs/_posts/2021-03-29-luau-recap-march-2021.md index 641de87c..e0d53f42 100644 --- a/docs/_posts/2021-03-29-luau-recap-march-2021.md +++ b/docs/_posts/2021-03-29-luau-recap-march-2021.md @@ -40,4 +40,5 @@ Luau now has a shiny new logo! ## Coming soon... * Better treatment of cyclic requires +* Native Vector3 math with dramatic performance improvements * [Anything else?] From 530e033d12864aaf870863ea8423fea8921a8c96 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 29 Mar 2021 15:10:35 -0700 Subject: [PATCH 2/4] Update 2021-03-29-luau-recap-march-2021.md More flavor text for perf --- docs/_posts/2021-03-29-luau-recap-march-2021.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_posts/2021-03-29-luau-recap-march-2021.md b/docs/_posts/2021-03-29-luau-recap-march-2021.md index e0d53f42..2f56930a 100644 --- a/docs/_posts/2021-03-29-luau-recap-march-2021.md +++ b/docs/_posts/2021-03-29-luau-recap-march-2021.md @@ -23,10 +23,14 @@ Luau is our new language that you can read more about at [https://roblox.github. ## Performance improvements +We are continuing to squeeze the performance out of all sorts of possible code; this is an ongoing process and we have many improvements in the pipeline, big and small. These are the changes that are already live: + * Significantly optimized non-variadic function calls, improving performance by up to 10% on call-heavy benchmarks * Improve performance of `math.clamp`, `math.sign` and `math.round` by 2.3x, 2x and 1.6x respectively * Optimized `coroutine.resume` with ~10% gains on coroutine-heavy benchmarks +Note that we work off a set of benchmarks that we consider representative of the wide gamut of code that runs on Luau. If you have code that you think we could be running faster, never hesitate to open a feature request / bug report on Roblox Developer Forum! + ## Library changes * Added the `debug.info` function which allows retrieving information about stack frames or functions; similarly to `debug.getinfo` from Lua, this accepts an options string that must consist of characters `slnfa`; unlike Lua that returns a table, the function returns all requested values one after another to improve performance. From 387b3c5bfb59fd8289103f034ebc7e3e383c1b68 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 29 Mar 2021 15:13:14 -0700 Subject: [PATCH 3/4] Update 2021-03-29-luau-recap-march-2021.md --- docs/_posts/2021-03-29-luau-recap-march-2021.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_posts/2021-03-29-luau-recap-march-2021.md b/docs/_posts/2021-03-29-luau-recap-march-2021.md index 2f56930a..4af3b4a2 100644 --- a/docs/_posts/2021-03-29-luau-recap-march-2021.md +++ b/docs/_posts/2021-03-29-luau-recap-march-2021.md @@ -45,4 +45,5 @@ Luau now has a shiny new logo! * Better treatment of cyclic requires * Native Vector3 math with dramatic performance improvements +* Better tools for memory analysis * [Anything else?] From 8da24ed2d8820f1e4adea4e3d5852a8319ca7c09 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 29 Mar 2021 15:18:08 -0700 Subject: [PATCH 4/4] Update 2021-03-29-luau-recap-march-2021.md --- docs/_posts/2021-03-29-luau-recap-march-2021.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_posts/2021-03-29-luau-recap-march-2021.md b/docs/_posts/2021-03-29-luau-recap-march-2021.md index 4af3b4a2..d96faa4b 100644 --- a/docs/_posts/2021-03-29-luau-recap-march-2021.md +++ b/docs/_posts/2021-03-29-luau-recap-march-2021.md @@ -29,7 +29,7 @@ We are continuing to squeeze the performance out of all sorts of possible code; * Improve performance of `math.clamp`, `math.sign` and `math.round` by 2.3x, 2x and 1.6x respectively * Optimized `coroutine.resume` with ~10% gains on coroutine-heavy benchmarks -Note that we work off a set of benchmarks that we consider representative of the wide gamut of code that runs on Luau. If you have code that you think we could be running faster, never hesitate to open a feature request / bug report on Roblox Developer Forum! +Note that we work off a set of benchmarks that we consider representative of the wide gamut of code that runs on Luau. If you have code that you think should be running faster, never hesitate to open a feature request / bug report on Roblox Developer Forum! ## Library changes