-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the memory usage of block and block IR
Originally, memory usage sharply increased during the frequent allocation and freeing of basic blocks and IR arrays. To reduce memory usage, we introduced a block memory pool and an IR array memory pool. As shown in the analysis below, we experienced about a 10% performance loss due to the reduction in memory usage. However, we are currently utilizing KiB of memory instead of MiB. * Performance | Metric | Original | Proposed | |----------+-----------------+-----------------| | Dhrystone| 2359 DMIPS | 2085.5 DMIPS | | CoreMark | 1967.382 iter/s | 1823.333 iter/s | * Memory usage | Metric | Original | Proposed | |----------+----------+----------| | Dhrystone| 99 MiB | 169 KiB | | CoreMark | 2.4 MiB | 176 KiB |
- Loading branch information
Showing
4 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38d663d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks
Dhrystone
1084.62
Average DMIPS over 10 runs1246.66
Average DMIPS over 10 runs1.15
Coremark
1010.928
Average iterations/sec over 10 runs1102.866
Average iterations/sec over 10 runs1.09
This comment was automatically generated by workflow using github-action-benchmark.