Skip to content

Benchmark Linear Scan vs Concurrent Dictionary#2

Open
mikhail-dcl wants to merge 1 commit intomainfrom
area-of-interest-benchmarking
Open

Benchmark Linear Scan vs Concurrent Dictionary#2
mikhail-dcl wants to merge 1 commit intomainfrom
area-of-interest-benchmarking

Conversation

@mikhail-dcl
Copy link
Copy Markdown
Collaborator

Method PeerCount Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
LinearScan_GetVisibleSubjects_1W 128 495.4 ns 4.69 ns 4.16 ns 1.00 0.01 - - NA
ConcurrentDict_GetVisibleSubjects_1W 128 256.3 ns 1.39 ns 1.23 ns 0.52 0.00 0.0067 112 B NA
LinearScan_GetVisibleSubjects_4W 128 4,924.3 ns 90.02 ns 92.44 ns 9.94 0.20 0.1373 2146 B NA
ConcurrentDict_GetVisibleSubjects_4W 128 4,539.9 ns 89.79 ns 92.21 ns 9.17 0.20 0.1678 2646 B NA
LinearScan_Set_1W 128 323.5 ns 2.99 ns 2.65 ns 0.65 0.01 - - NA
ConcurrentDict_Set_1W 128 3,971.6 ns 45.84 ns 42.88 ns 8.02 0.11 - - NA
LinearScan_Set_4W 128 2,814.8 ns 41.28 ns 38.61 ns 5.68 0.09 0.1259 1970 B NA
ConcurrentDict_Set_4W 128 6,321.9 ns 104.24 ns 92.40 ns 12.76 0.21 0.1450 2268 B NA
LinearScan_GetVisibleSubjects_1W 512 1,850.5 ns 22.88 ns 19.11 ns 1.00 0.01 - - NA
ConcurrentDict_GetVisibleSubjects_1W 512 728.4 ns 4.80 ns 4.01 ns 0.39 0.00 0.0210 336 B NA
LinearScan_GetVisibleSubjects_4W 512 7,686.2 ns 128.89 ns 107.63 ns 4.15 0.07 0.1450 2267 B NA
ConcurrentDict_GetVisibleSubjects_4W 512 9,116.2 ns 180.58 ns 368.88 ns 4.93 0.20 0.2136 3337 B NA
LinearScan_Set_1W 512 1,241.1 ns 11.40 ns 10.10 ns 0.67 0.01 - - NA
ConcurrentDict_Set_1W 512 19,413.5 ns 202.28 ns 157.93 ns 10.49 0.13 - - NA
LinearScan_Set_4W 512 3,932.4 ns 77.96 ns 101.37 ns 2.13 0.06 0.1373 2143 B NA
ConcurrentDict_Set_4W 512 18,871.2 ns 213.30 ns 189.09 ns 10.20 0.14 0.1221 2366 B NA
LinearScan_GetVisibleSubjects_1W 4095 15,650.5 ns 234.15 ns 240.46 ns 1.00 0.02 - - NA
ConcurrentDict_GetVisibleSubjects_1W 4095 2,197.7 ns 43.52 ns 72.71 ns 0.14 0.01 0.0305 504 B NA
LinearScan_GetVisibleSubjects_4W 4095 65,660.7 ns 4,834.70 ns 14,103.04 ns 4.20 0.90 0.1221 2313 B NA
ConcurrentDict_GetVisibleSubjects_4W 4095 9,376.0 ns 222.33 ns 655.56 ns 0.60 0.04 0.2441 3967 B NA
LinearScan_Set_1W 4095 10,111.2 ns 188.77 ns 176.58 ns 0.65 0.01 - - NA
ConcurrentDict_Set_1W 4095 190,884.0 ns 1,505.30 ns 1,408.06 ns 12.20 0.20 - 2 B NA
LinearScan_Set_4W 4095 9,495.3 ns 138.38 ns 129.44 ns 0.61 0.01 0.1373 2352 B NA
ConcurrentDict_Set_4W 4095 151,112.0 ns 3,016.48 ns 5,591.25 ns 9.66 0.38 - 2416 B NA

Signed-off-by: Mikhail Agapov <mikhail.agapov@decentraland.org>
@mikhail-dcl mikhail-dcl added the wontfix This will not be worked on label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant