-
Notifications
You must be signed in to change notification settings - Fork 19
feat: Node data serialisation #2242
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
Conversation
ebffb7b to
b287bfe
Compare
992b551 to
068dc51
Compare
068dc51 to
5876239
Compare
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.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.
| Benchmark suite | Current: 93eb6c9 | Previous: fe432fc | Ratio |
|---|---|---|---|
BM_Box_MinimumImage<CubicBox> |
46.67427107273266 ns/iter |
14.720236046648049 ns/iter |
3.17 |
BM_Box_MinimumVector<CubicBox> |
31.69142482181134 ns/iter |
10.805559247637298 ns/iter |
2.93 |
BM_Box_MinimumImage<OrthorhombicBox> |
43.04734980470494 ns/iter |
16.09258159686038 ns/iter |
2.67 |
BM_Box_MinimumVector<OrthorhombicBox> |
29.531711220758062 ns/iter |
10.720444593028015 ns/iter |
2.75 |
BM_Box_MinimumImage<MonoclinicAlphaBox> |
34.5154789667622 ns/iter |
11.894333076758135 ns/iter |
2.90 |
BM_Box_MinimumVector<MonoclinicAlphaBox> |
22.076089200374213 ns/iter |
8.047862156503925 ns/iter |
2.74 |
BM_Box_MinimumImage<TriclinicBox> |
37.90982969156062 ns/iter |
16.352504316387808 ns/iter |
2.32 |
BM_Box_MinimumVector<TriclinicBox> |
24.073042888658648 ns/iter |
11.175347426982341 ns/iter |
2.15 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @disorderedmaterials/dissolve-devs
1f4d938 to
310939a
Compare
01d38d9 to
0a3c8c5
Compare
0a3c8c5 to
a904d94
Compare
a904d94 to
9a60a3f
Compare
9a60a3f to
91c8cd1
Compare
rprospero
left a comment
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.
One minor suggestion, but things otherwise look good.
Co-authored-by: Tristan Youngs <trisyoungs@googlemail.com>
This PR implements serialisation of restart file data for the current complement of nodes, building off #2203.
TODO
std::optionalneeds to emplace the data first.Template args toMoved to Refactor is_instance_of_v #2260is_instance_of<>are reversed c.f. comparable stdlib functionslongs for bin counts)Historyserialisation test, especially with custom initialiser function.Move simple test functions out ofMoved to Dissolve2DoDissolveSystemTest