Diffusion Sink c741d7fbb21f

Use Key API in ResultSet

Authored by rnicole on Jul 27 2018, 11:40 AM.

Description

Use Key API in ResultSet

Summary:
Depends on D14099

Notes:

  • Tests pass without many modifications outside of resultset.cpp/.h
  • mGenerator doesn't seem to be used?

Benchmarks

Run benchmarks:

DevelopD14099This patch
Current Rss usage [kb]: 40700Current Rss usage [kb]: 38564Current Rss usage [kb]: 39112
Peak Rss usage [kb]: 40700Peak Rss usage [kb]: 38564Peak Rss usage [kb]: 39112
Rss growth [kb]: 15920Rss growth [kb]: 13352Rss growth [kb]: 13432
Rss growth per entity [byte]: 3260Rss growth per entity [byte]: 2734Rss growth per entity [byte]: 2750
Rss without db [kb]: 29736Rss without db [kb]: 29248Rss without db [kb]: 30100
Percentage peak rss error: 0Percentage peak rss error: 0Percentage peak rss error: 0
On disk [kb]: 10788On disk [kb]: 9140On disk [kb]: 8836
Buffer size total [kb]: 898Buffer size total [kb]: 898Buffer size total [kb]: 898
Write amplification: 12.0075Write amplification: 10.1732Write amplification: 9.83485

Test Disk Usage:

DevelopD14099This patch
Free pages: 412Free pages: 309Free pages: 312
Total pages: 760Total pages: 599Total pages: 603
Used size: 1425408Used size: 1187840Used size: 1191936
Calculated key + value size: 856932Calculated key + value size: 702866Calculated key + value size: 702866
Calculated total db sizes: 970752Calculated total db sizes: 954368Calculated total db sizes: 933888
Main store on disk: 3112960Main store on disk: 2453504Main store on disk: 2469888
Total on disk: 3293184Total on disk: 2633728Total on disk: 2650112
Used size amplification: 1.66339Used size amplification: 1.68999Used size amplification: 1.69582
Write amplification: 3.63268Write amplification: 3.49071Write amplification: 3.51402

Reviewers: cmollekopf

Reviewed By: cmollekopf

Tags: Sink

Differential Revision: https://phabricator.kde.org/D14289

Details

Committed
cmollekopfJul 27 2018, 11:48 AM
Reviewer
cmollekopf
Differential Revision
D14289: Use Key API in ResultSet
Parents
R9:0a9b39a1f58c: Use Key API in DataStoreQuery
Branches
Unknown
Tags
Unknown