Commit Graph
6 Commits
Author SHA1 Message Date
Zef Hemel 6c94a8fea7 Performance: performance tuned LuaTable 2026-03-26 17:22:40 +01:00
Zef Hemel 923485127c Lua benchmark additions based on community scripts scraping 2026-03-25 15:35:12 +01:00
Zef Hemel ee2a3edb47 Lua interpreter performance optimization (hot paths)
* The interpreter wasted cycles on unnecessary async/Promise wrapping
  and redundant allocations even for synchronous operations.
* Now: more "sync-first" evaluation — try the fast synchronous path
  first, only fall back to Promises when actually needed.
* In addition: fast paths for table access, variable lookups, string
  concat, arithmetic, and function calls; loops can re-enter sync mode
  after an async iteration resolves.
* Added benchmarks

Results: 1.3x–1.7x speedup across typical workloads (API calls, table
traversal, string ops), up to 1.92x in some cases.
2026-03-20 14:44:00 +01:00
Zef Hemel efc0d24e11 Fixes 2026-02-27 15:35:34 +01:00
Zef Hemel 02bd8ed362 Migration Deno -> Node.js
* First pass
* Now using vitest for tests
2026-02-14 22:08:35 +01:00
Matouš Jan FialkaandGitHub 3422a9fa20 Add Space Lua benchmarks based on Deno.bench aligned to Deno.test (#1649)
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2025-11-05 15:06:33 +01:00