Skip to content

Conversation

@quentin
Copy link
Member

@quentin quentin commented Dec 8, 2023

Dynamic cast have a significant performance impact on Souffle AST/RAM pipelines.

  • non-RTTI dynamic cast for the ast::Node hierarchy
  • non-RTTI dynamic cast for the ast::analysis::Type hierarchy
  • non-RTTI dynamic cast for the ram::Node hierarchy

Dynamic cast have a significant performance impact on Souffle AST/RAM
pipelines.

* non-RTTI dynamic cast for the ast::Node hierarchy
* non-RTTI dynamic cast for the ast::analysis::Type hierarchy
* non-RTTI dynamic cast for the ram::Node hierarchy
@codecov
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #2452 (e77130e) into master (2914f7b) will increase coverage by 0.36%.
Report is 28 commits behind head on master.
The diff coverage is 86.34%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2452      +/-   ##
==========================================
+ Coverage   77.75%   78.12%   +0.36%     
==========================================
  Files         474      486      +12     
  Lines       31164    32354    +1190     
==========================================
+ Hits        24232    25276    +1044     
- Misses       6932     7078     +146     
Files Coverage Δ
src/FunctorOps.cpp 60.81% <ø> (ø)
src/RelationTag.h 53.03% <ø> (+0.79%) ⬆️
src/ast/Aggregator.cpp 96.29% <100.00%> (+0.84%) ⬆️
src/ast/Aggregator.h 100.00% <ø> (ø)
src/ast/AlgebraicDataType.cpp 70.00% <100.00%> (+3.33%) ⬆️
src/ast/AliasType.cpp 50.00% <100.00%> (-20.00%) ⬇️
src/ast/AliasType.h 100.00% <ø> (ø)
src/ast/Argument.h 100.00% <100.00%> (ø)
src/ast/Atom.cpp 100.00% <100.00%> (ø)
src/ast/Atom.h 100.00% <ø> (ø)
... and 252 more

... and 18 files with indirect coverage changes

@quentin quentin requested a review from julienhenry December 8, 2023 13:39
@quentin quentin merged commit 9ed9a31 into souffle-lang:master Dec 9, 2023
quentin added a commit to quentin/souffle that referenced this pull request Jun 19, 2024
Dynamic cast have a significant performance impact on Souffle AST/RAM
pipelines.

* non-RTTI dynamic cast for the ast::Node hierarchy
* non-RTTI dynamic cast for the ast::analysis::Type hierarchy
* non-RTTI dynamic cast for the ram::Node hierarchy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants