easyice opened a new pull request, #12782:
URL: https://github.com/apache/lucene/pull/12782

   As discussed in issue https://github.com/apache/lucene/issues/12717
   
   the read performance of group-varint  is 14-30%% faster than vint, the 
`Mode`  16-248 is the number of ints will be read.
    feel free to close the PR if the performance improves is not enough :)
   
   ```
   Benchmark                (size)   Mode  Cnt   Score   Error   Units
   GroupVInt.readGroupVInt      16  thrpt    5  30.743 ± 5.054  ops/us
   GroupVInt.readGroupVInt      32  thrpt    5  14.495 ± 0.606  ops/us
   GroupVInt.readGroupVInt      64  thrpt    5   6.930 ± 4.679  ops/us
   GroupVInt.readGroupVInt     128  thrpt    5   3.593 ± 0.687  ops/us
   GroupVInt.readGroupVInt     248  thrpt    5   2.356 ± 0.073  ops/us
   GroupVInt.readVInt           16  thrpt    5  21.437 ± 1.102  ops/us
   GroupVInt.readVInt           32  thrpt    5  10.482 ± 3.620  ops/us
   GroupVInt.readVInt           64  thrpt    5   5.966 ± 0.707  ops/us
   GroupVInt.readVInt          128  thrpt    5   2.750 ± 1.668  ops/us
   GroupVInt.readVInt          248  thrpt    5   1.606 ± 0.042  ops/us
   ```


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to