Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/speedup-dal-generation #4824

Merged
merged 2 commits into from
Oct 7, 2019
Merged

Conversation

jrouzierinverse
Copy link
Member

Description

Speedup the dal generation

Impacts

dal generation

Delete branch after merge

NO

Checklist

  • Document the feature
  • Add unit tests
  • Add acceptance tests (TestLink)

@jrouzierinverse
Copy link
Member Author

This improves the performance creating the dal by 36928% on my machine.
This will help with the some up coming DB schema changes.

[root@dev-c7 pf]# time perl addons/dev-helpers/bin/generator-data-access-layer.pl 
Generating pf::dal::_action
...
Generating pf::dal::_wrix

real    6m52.502s
user    0m0.630s
sys     0m0.242s
[root@dev-c7 pf]# time perl addons/dev-helpers/bin/generator-data-access-layer.pl
Generating pf::dal::_action
...
Generating pf::dal::_wrix

real    0m1.114s
user    0m0.350s
sys     0m0.089s

@fdurand fdurand merged commit c80c396 into devel Oct 7, 2019
fdurand added a commit that referenced this pull request Oct 7, 2019
@satkunas satkunas deleted the feature/speedup-dal-generation branch May 15, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants