技能 编程开发 Effect 性能分析

Effect 性能分析

v20261121
effect-smol-performance-analysis
对比不同提交间 Effect 运行时性能或 TypeScript 检查器开销,使用匹配的测试夹具、固定编译参数和可重复测量,并区分预热与稳态采样。
获取技能
390 次下载
概览

Measure Effect Runtime and Type Performance

When to Use

Compare Effect runtime performance or TypeScript checker cost with matched fixtures and repeatable measurements.

Workflow

Run correctness checks before profiling. Select the runtime or type branch based on the regression. Compare the same target operation and inputs on base and head with fixed runtime or compiler flags and versions. Separate warm-up and steady-state runtime samples. For type cost compare the same inclusion graph and record diagnostic counters with wall time. Repeat unexplained results and disclose environmental noise, selected threshold and any unmeasured checks.

Example

Compare check time and type instantiations for one overload fixture across two commits with the same TypeScript version.

Limitations

Requires the relevant Effect workspace and its versioned tools. Use local project policy and authorized fixtures. Results cover only the checked packages and environments.

Bundled resources

Use the bundled local references for the applicable branch of the workflow: runtime, types. Run commands against the target Effect workspace.

Source

Adapted from the pinned skill tree. See the MIT license.

This snapshot of Effect v4 is vendored by Local Studio.

信息
分类 编程开发
名称 effect-smol-performance-analysis
版本 v20261121
大小 3.21KB
更新时间 2026-11-22
语言