Opened 11 years ago
Closed 11 years ago
#2375 closed defect (fixed)
Improve performance of bootstrapped compiler
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | MetaModelica | Version: | trunk |
Keywords: | Cc: |
Description
Currently, roughly 30% of time is spent calling setspecific/getspecific. If we pass the pointer around to each function, we do not need to do this. We should still allow getspecific to be used so we can throw from external functions.
This is a good alternative to pass thread-specific, previously global data anyway.
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Component: | Backend → Bootstrapping |
---|---|
Milestone: | 1.9.0 → 2.0.0 |
Owner: | changed from | to
comment:3 by , 11 years ago
Milestone: | 2.0.0 → 1.9.0 |
---|
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r17555 (mostly; there are still parts of code that uses MMC_TRY() instead of the faster MMC_TRY_INTERNAL())
Note:
See TracTickets
for help on using tickets.
Also, 17% longjmp, 9% setjmp, 25% GC_malloc