Closed HeuristicLab-Trac-Bot closed 4 years ago
r13324 (not migrated): Removed new empty branch in order to create branch of full trunk
- fixed duplicate guids
- adapted/added unit tests for new persistence
- added profiling to unit tests
- added more unit tests
The Persistence4 unit tests now generate an output where you can see different performance measures, e.g.:
Performance Report for <TestBoolArray>b__28_0: Avg. old vs. new time for serializing a file: 00:00:00.0060189 / 00:00:00.0008129; Factor: 7,40452962958407 Avg. old vs. new time for deserializing a file: 00:00:00.0048589 / 00:00:00.0001852; Factor: 26,2386866832271 Avg. old vs. new file size (in bytes): 594 / 55; Factor: 10,8 Avg. old vs. new memory consumption for serializing a file (in bytes): 59849,6 / 24600; Factor: 2,43291056910569 Avg. old vs. new memory consumption for deserializing a file (in bytes): 178737,6 / 57392; Factor: 3,11432952327851
Replying to [comment:15 ascheibe]:
The Persistence4 unit tests now generate an output where you can see different performance measures, e.g.:
Performance Report for <TestBoolArray>b__28_0: Avg. old vs. new time for serializing a file: 00:00:00.0060189 / 00:00:00.0008129; Factor: 7,40452962958407 Avg. old vs. new time for deserializing a file: 00:00:00.0048589 / 00:00:00.0001852; Factor: 26,2386866832271 Avg. old vs. new file size (in bytes): 594 / 55; Factor: 10,8 Avg. old vs. new memory consumption for serializing a file (in bytes): 59849,6 / 24600; Factor: 2,43291056910569 Avg. old vs. new memory consumption for deserializing a file (in bytes): 178737,6 / 57392; Factor: 3,11432952327851
Micro-benchmark alarm. I'd be more interested to see how long it takes to store and load a full experiment with results.
r13410 increased repetitions to get more realistic results
Replying to [comment:16 gkronber]:
Replying to [comment:15 ascheibe]:
The Persistence4 unit tests now generate an output where you can see different performance measures, e.g.:
Performance Report for <TestBoolArray>b__28_0: Avg. old vs. new time for serializing a file: 00:00:00.0060189 / 00:00:00.0008129; Factor: 7,40452962958407 Avg. old vs. new time for deserializing a file: 00:00:00.0048589 / 00:00:00.0001852; Factor: 26,2386866832271 Avg. old vs. new file size (in bytes): 594 / 55; Factor: 10,8 Avg. old vs. new memory consumption for serializing a file (in bytes): 59849,6 / 24600; Factor: 2,43291056910569 Avg. old vs. new memory consumption for deserializing a file (in bytes): 178737,6 / 57392; Factor: 3,11432952327851
Micro-benchmark alarm. I'd be more interested to see how long it takes to store and load a full experiment with results.
Yeah, I know that this is not significant, but we don't have composite transformers yet, so this is all we can do at the moment ;-)
- renamed StorableClass -> StorableType
- changed persistence to use GUIDs instead of type names
r14712: added GUIDs for (almost) all interface types (probably still too many) also added newlines at end of all files
r14714 added missing StorableType attributes and registered more types. All samples can be deserialized and serialized now
r14731: added tool program which adds StorableType attributes to interfaces and enums
r14739: added a sketch for a unit test for conversion (and set svn:ignore properties)
r14771: added versions to storable types and implemented conversion unit test
r14920 (not migrated): deleted branch of trunk
r14922 (not migrated): deleted branch again
r14924: copied relevant files from persistence overhaul branch
r14927: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)
r14928: added unit tests and fixed all test cases for old persistence
r14929: fixed all unit tests for new persistence - loading & storing all samples
r14930: changed optimizer to use new persistence per default
r14931: do not store graph visualization info for the operatorgraph
r14932: check if results are the same for the GA TSP sample test
r14933: added a code fix for generating StorableTypeAttributes
r14935: support persistence for OperatorGraphVisualizationInfo
r14985: worked on persistence code fix
- split existing analyzer and code fix
- added analyzer and code fix for missing storable ctors
r14989: worked on persistence code fix
- added
SequentialFixAllProvider
r14990: worked on persistence code fix
- added missing
UnitTests.cs
r15022: removed
ColorTransformer
for now as it only handled the color's argb values (StructTransformer
will handle more, e.g.IsEmpty
)
Issue migrated from trac ticket # 2520
milestone: HeuristicLab 3.3.16 | component: Persistence | priority: high | resolution: done | keywords: merged
2015-11-20 22:45:31: @s-wagner created the issue