Avatar for the Glyphack user
Glyphack
enderpy
BlogDocsChangelog

perf: remove extra clones in imports

#247Merged
Comparing
import-resolver-perf
(
fa57af6
) with
main
(
d832906
)
CodSpeed Performance Gauge
×2
Improvements
1
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

type_checker[test_data/types_very_fast.py]
benchmark/benches/typecheck_benchmark.rs::benches::benchmark_type_checker::type_checker[test_data/types_very_fast.py]
CodSpeed Performance Gauge
×2
2.1 s
1 s

Passed

parser[dataset.py]
benchmark/benches/parser_benchmark.rs::benches::benchmark_parser::parser[dataset.py]
CodSpeed Performance Gauge
0%
8.9 ms
8.9 ms
parser[mypy_checker.py]
benchmark/benches/parser_benchmark.rs::benches::benchmark_parser::parser[mypy_checker.py]
CodSpeed Performance Gauge
0%
39.8 ms
39.9 ms
parser[pydantic_types.py]
benchmark/benches/parser_benchmark.rs::benches::benchmark_parser::parser[pydantic_types.py]
CodSpeed Performance Gauge
0%
3.6 ms
3.6 ms

Commits

Click on a commit to change the comparison range
Base
main
d832906
+28%
perf: remove extra clones in imports
810f803
7 months ago
by Glyphack
+6%
perf: remove cloned improts map
165b649
7 months ago
by Glyphack
+5%
perf: use ID to reference symbol table and scopes
ed395d1
7 months ago
by Glyphack
+90%
perf: don't clone imported_symbol_tables
92535ff
7 months ago
by Glyphack
-9%
refactor: Pass &Path
979c7d8
7 months ago
by Glyphack
-16%
fix: lookup aliases in star imports
fa57af6
7 months ago
by Glyphack
Home Terms PrivacyDocs