ButterBright opened a new pull request, #459:
URL: https://github.com/apache/skywalking-banyandb/pull/459

   <!--
       ⚠️ Please make sure to read this template first, pull requests that 
don't accord with this template
       maybe closed without notice.
       Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. 
<framework name>, <issue number>.
       Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]`
   -->
   
   <!-- ==== 🐛 Remove this line WHEN AND ONLY WHEN you're fixing a bug, follow 
the checklist 👇 ====
   ### Fix <bug description or the bug issue number or bug issue link>
   - [ ] Add a unit test to verify that the fix works.
   - [ ] Explain briefly why the bug exists and how to fix it.
        ==== 🐛 Remove this line WHEN AND ONLY WHEN you're fixing a bug, follow 
the checklist 👆 ==== -->
   
   <!-- ==== 🆕 Remove this line WHEN AND ONLY WHEN you're adding a new feature, 
follow the checklist 👇 ====
   ### <Feature description>
   - [ ] If this is non-trivial feature, paste the links/URLs to the design doc.
   - [ ] Update the documentation to include this new feature.
   - [ ] Tests(including UT, IT, E2E) are added to verify the new feature.
   - [ ] If it's UI related, attach the screenshots below.
        ==== 🆕 Remove this line WHEN AND ONLY WHEN you're adding a new feature, 
follow the checklist 👆 ==== -->
   The specification of the test environment is:
   OS: Ubuntu 22.04.3 LTS x86_64
   CPU: AMD EPYC 7282 (4) @ 2.794GHz
   Memory: 7951MiB
   
   The parameters for the benchmark test are:
   {batchCount: 2, timestampCount: 500, seriesCount: 100, tagCardinality: 10, 
startTimestamp: 1, endTimestamp: 1000, scenario: "large-scale"}
   {batchCount: 2, timestampCount: 500, seriesCount: 100, tagCardinality: 10, 
startTimestamp: 900, endTimestamp: 1000, scenario: "latest"}
   {batchCount: 2, timestampCount: 500, seriesCount: 100, tagCardinality: 10, 
startTimestamp: 300, endTimestamp: 400, scenario: "historical"}
   
   Query benchmark results after optimization:
   BenchmarkSort/sort-large-scale-4                    1        3818366117 
ns/op        261214432 B/op   3585136 allocs/op
   BenchmarkSort/sort-latest-4                         1        4577553276 
ns/op        415367000 B/op   5739892 allocs/op
   BenchmarkSort/sort-historical-4                     1        6524761997 
ns/op        415185616 B/op   5739826 allocs/op
   
   - [x] If this pull request closes/resolves/fixes an existing issue, replace 
the issue number. Fixes apache/skywalking#12160.
   - [x] Update the [`CHANGES` 
log](https://github.com/apache/skywalking-banyandb/blob/main/CHANGES.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to