Bug #465
Performance Bottleneck: expensive/frequent construction of UUID objects
Status: | Resolved | Start date: | 08/01/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | C++ | |||
Target version: | 0.4 |
Description
Related issues
Associated revisions
Avoid unconditional creation of random sender id in src/rsb/MetaData.cpp
fixes #465
fixes #465
- src/rsb/MetaData.cpp: use nil UUID constructor to create default
value of sender id - test/rsb/HandlerTest.cpp: manually supply random sender ids to
maintain previous behavior - test/rsb/MetaDataTest.cpp: likewise
- test/rsb/eventprocessing/ParallelEventReceivingStrategyTest.cpp:
likewise
History
#1 Updated by J. Moringen almost 13 years ago
- Status changed from New to In Progress
- Assignee set to J. Moringen
- Target version set to 0.4
#2 Updated by J. Moringen almost 13 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset r2198.
#3 Updated by J. Moringen almost 13 years ago
- File event_creation.cc added
- File Makefile added
The attached test program gives the following results:
Before r2198:
/tmp $ time ./event_creation 20.065 secs
After r2198:
/tmp $ time ./event_creation 4.891 secs
#4 Updated by J. Moringen almost 13 years ago
- Status changed from Resolved to Feedback
#5 Updated by M. Rolf almost 13 years ago
works fine.
#6 Updated by J. Moringen almost 13 years ago
- Status changed from Feedback to Resolved