You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exports of Revit 2015 to 2023 files take 1.6 to 3.9 times as long as with 0.11.0 #1237
Exports of Revit 2015 to 2023 files take two to three and a half times as long as with 0.11.0. Measure run 41228075400 timed rvt-ifc on one runner, main at 49dd8d19 (the 0.12.0 code) against v0.11.0, with the median of three alternating runs per file:
Revit release
files
total time, 0.11.0 → 0.12.0
ratio
peak memory, median (max)
2015
6
7.8 s → 26.3 s
3.37
1.01 (1.17)
2016 to 2018
9
8.3 s → 24.3 s
2.9 to 3.0
1.07 to 1.15 (1.19)
2019 to 2022
15
17.2 s → 51.3 s
2.8 to 3.2
1.00 to 1.13 (1.15)
2023
3
5.2 s → 10.5 s
2.01
1.01 (1.01)
2024 to 2027
33
303.7 s → 304.8 s
0.99 to 1.04
1.00 (1.03)
The files are Autodesk's sample projects of each release, plus the reference, R2025 and BIM4LCA models for 2024 and 2025. Each 2015 to 2022 sample goes from about 1 s to about 3 s.
The cost comes with what 0.12.0 reads on these releases:
each element's saved parameters (RE-281);
the phase order;
walls' type Function and top joins (RE-283, RE-284);
structural IsExternal (RE-285).
Each is a native pass over the file's records, which 0.11.0 refused on 2015 to 2022.
Done when
The stages that cost the time are measured: timing checkpoints on a 2015 and a 2019 sample, one Measure run. Each is brought to what the values it adds justify, through shared passes or narrower selections, as #1227 did for storeys on 2024. A one-runner timing against 0.11.0 then states the remaining cost per release. A slow sample project is a model for a large older project, which this would make minutes slower.
changed the title [-]Exports of Revit 2015 to 2023 files take two to three times as long as with 0.11.0[/-][+]Exports of Revit 2015 to 2023 files take 1.6 to 3.9 times as long as with 0.11.0[/+]on Oct 31, 2026
Profiled: a scratch branch timed each native pass (Measure 41240110248 and 41241242631; the branch is kept at refs/archive/2026-10-31/scratch/1237-pass-timings). On 2015 rac_advanced, which 0.11.0 exported in 1.1 s and 0.12.0 in 4.3 s, the native passes take 2.6 s:
pass
time
parameter definitions, read once by each of the two readers below
0.44 s each
saved parameters named for a property (RE-283): the elements' and types' graphs
1.18 s
storeys' EntranceLevel: nothing selected, since no such parameter is defined
under 0.01 s
phase order (RE-281)
0.35 s
wall type Functions (RE-283)
0.25 s
wall top joins (RE-284)
0.15 s
2019 rme_advanced shows the same pattern at about twice the size: definitions 0.86 to 0.93 s each, named parameters 2.16 s.
Two fixes are in review, each byte-identical on all 90 exports:
That recovers about 12% of these exports' time. Most of the rest is the named-parameter read decoding each element's graph to find its saved parameters, then the phase order and the wall readers. The next step is to time the graph decode separately from the metadata reading within that pass. The result ships as 0.12.1, timed against 0.11.0.
Activity
chore(release): 0.12.0's witness and synthetic fixtures from its CI, …
[-]Exports of Revit 2015 to 2023 files take two to three times as long as with 0.11.0[/-][+]Exports of Revit 2015 to 2023 files take 1.6 to 3.9 times as long as with 0.11.0[/+]docs: 0.12.0 is the published release, each channel checked from what…
scratch: time the definitions and selected passes, and name each para…
DrunkOnJava commentedon Oct 31, 2026
Profiled: a scratch branch timed each native pass (Measure 41240110248 and 41241242631; the branch is kept at
refs/archive/2026-10-31/scratch/1237-pass-timings). On 2015rac_advanced, which 0.11.0 exported in 1.1 s and 0.12.0 in 4.3 s, the native passes take 2.6 s:EntranceLevel: nothing selected, since no such parameter is defined2019
rme_advancedshows the same pattern at about twice the size: definitions 0.86 to 0.93 s each, named parameters 2.16 s.Two fixes are in review, each byte-identical on all 90 exports:
That recovers about 12% of these exports' time. Most of the rest is the named-parameter read decoding each element's graph to find its saved parameters, then the phase order and the wall readers. The next step is to time the graph decode separately from the metadata reading within that pass. The result ships as 0.12.1, timed against 0.11.0.
perf(reader): the export drops the kept definition pass after its las…
docs(reader): read_defined_values says which target names it leaves u…
40 remaining items
ci: fast and full pull-request runs are in concurrency groups of thei…
ci: ci.yml's concurrency group is keyed by kind too, since a called w…
ci: fast and full pull-request runs are in concurrency groups of thei…
scratch: drop the leftover hit use (#1237)
perf(reader): an Element's base fields are read straight from the byt…
docs(changelog): Revit 2015 to 2023 exports take 0.57 to 0.84 of main…
docs(reader): the filtered-parameters filter says it assumes a value …
docs(reader): byte identity and timing are those of the full Measure …
chore(release): prepare v0.14.0 (#1345)
docs: 0.15.0 is the published release, each channel checked from what…
fix(ifc): a wall with an edited profile cut back from inside the wall…
perf(reader): Revit 2015 to 2023 exports take 0.54 to 0.78 of main's …
docs(re): RE-420 finds why 6 of Snowdon Towers Architectural's roofs …
perf(research): the project's display units come from the definitions…