feat: implement SCC analysis; refactor test; rename js helper functions

This commit is contained in:
2026-01-10 17:24:10 +08:00
parent 36ccc735f9
commit 1adb7a24a9
28 changed files with 2445 additions and 870 deletions

View File

@@ -15,6 +15,7 @@ derive_more = { version = "2", features = ["full"] }
thiserror = "2"
hashbrown = "0.16"
petgraph = "0.8"
string-interner = "0.19"
itertools = "0.14"
@@ -30,3 +31,20 @@ nix-js-macros = { path = "../nix-js-macros" }
[dev-dependencies]
tempfile = "3.24"
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "basic_ops"
harness = false
[[bench]]
name = "builtins"
harness = false
[[bench]]
name = "scc_optimization"
harness = false
[[bench]]
name = "compile_time"
harness = false