[Xapian-tickets] [Xapian] #782: Improve encode_length() performance
Xapian
nobody at xapian.org
Sun May 5 15:11:39 BST 2019
#782: Improve encode_length() performance
----------------------------+-------------------------
Reporter: Kronuz | Owner: olly
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Backend-Remote | Version:
Severity: minor | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
----------------------------+-------------------------
Comment (by Kronuz):
These are my timings after adding the `std::string s` and appending to it:
{{{
Run on (4 X 3000 MHz CPU s)
CPU Caches:
L1 Data 32K (x2)
L1 Instruction 32K (x2)
L2 Unified 262K (x2)
L3 Unified 4194K (x1)
-----------------------------------------------------------------
Benchmark Time CPU Iterations
-----------------------------------------------------------------
BM_EncodeLength_Original 2578 ns 2573 ns 244950
BM_EncodeLength_Optimized 1510 ns 1507 ns 591061
}}}
--
Ticket URL: <https://trac.xapian.org/ticket/782#comment:4>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list