Improve the runtime performance of ViewFactor #3719
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
close #3713
OpenStudio Pull Request Template
Please read OpenStudio Pull Requests to better understand the OpenStrudio Pull Request protocol.
Time for the test case reference in #3713 is now
kbenne-27067s:OpenStudio kbenne$ time ./build/Products/openstudio build/test.rb
49 view factors => 0.0 sec
64 view factors => 0.0 sec
81 view factors => 0.01 sec
100 view factors => 0.01 sec
121 view factors => 0.01 sec
144 view factors => 0.02 sec
169 view factors => 0.02 sec
196 view factors => 0.04 sec
225 view factors => 0.05 sec
256 view factors => 0.06 sec
289 view factors => 0.08 sec
324 view factors => 0.11 sec
361 view factors => 0.14 sec
400 view factors => 0.18 sec
441 view factors => 0.23 sec
484 view factors => 0.3 sec
529 view factors => 0.4 sec
576 view factors => 0.49 sec
625 view factors => 0.64 sec
676 view factors => 0.76 sec
We can get better but it will require some lower level workspace effort that I will work on and put in a different commit after release.