Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Run Containerfile, Builder Containerfile #951

Merged
merged 6 commits into from
Jan 27, 2023

Conversation

orpheuslummis
Copy link
Contributor

@orpheuslummis orpheuslummis commented Nov 24, 2022

Relevant issue(s)

Resolves #950

Description

  • Fixes the 'runner' container file
  • introduces 'builder' container file
  • Use Containerfile terminology which goes beyond Docker.

Tasks

  • I made sure the code is well commented, particularly hard-to-understand areas.
  • I made sure the repository-held documentation is changed accordingly.
  • I made sure the pull request title adheres to the conventional commit style (the subset used in the project can be found in tools/configs/chglog/config.yml).
  • I made sure to discuss its limitations such as threats to validity, vulnerability to mistake and misuse, robustness to invalidation of assumptions, resource requirements, ...

How has this been tested?

Specify the platform(s) on which this was tested:

  • Debian Linux
  • MacOS

@orpheuslummis orpheuslummis added the ci/build This is issue is about the build or CI system, and the administration of it. label Nov 24, 2022
@orpheuslummis orpheuslummis added this to the DefraDB v0.4 milestone Nov 24, 2022
@orpheuslummis orpheuslummis self-assigned this Nov 24, 2022
@orpheuslummis orpheuslummis added the action/no-benchmark Skips the action that runs the benchmark. label Nov 24, 2022
@source-devs
Copy link

Benchmark Results

Summary

  • 113 Benchmarks successfully compared.
  • 73 Benchmarks were ✅ Better.
  • 40 Benchmarks were ❌ Worse .
  • 0 Benchmarks were ✨ Unchanged.
✅ See Better Results...
time/opdelta
_Collection_UserSimple_Create_Sync_0_10-412.6ms ± 0%10.7ms ± 0%−15.31%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Sync_0_100-4118ms ± 0%103ms ± 0%−12.86%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Async_0_100-446.6ms ± 0%46.2ms ± 0%−0.84%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Async_0_1000-4465ms ± 0%459ms ± 0%−1.34%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Async_0_10000-44.72s ± 0%4.68s ± 0%−0.68%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_10_10-4380µs ± 0%364µs ± 0%−4.04%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_100_100-43.84ms ± 0%3.69ms ± 0%−3.87%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_1000_1000-440.4ms ± 0%39.1ms ± 0%−3.37%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_1000_10-4410µs ± 0%366µs ± 0%−10.84%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_1000_100-45.36ms ± 0%3.82ms ± 0%−28.68%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_10_10-4279µs ± 0%261µs ± 0%−6.42%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_1000_10-4264µs ± 0%260µs ± 0%−1.48%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_1000_100-41.90ms ± 0%1.87ms ± 0%−1.33%(p=1.000 n=1+1)
_Query_UserSimple_Query_Sync_100-41.60ms ± 0%1.18ms ± 0%−26.67%(p=1.000 n=1+1)
_Query_UserSimple_Query_Sync_1000-411.8ms ± 0%9.8ms ± 0%−17.40%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithFilter_Sync_10-4573µs ± 0%505µs ± 0%−11.88%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithFilter_Sync_100-41.70ms ± 0%1.41ms ± 0%−17.07%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithFilter_Sync_1000-410.0ms ± 0%9.9ms ± 0%−1.50%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithLimitOffset_Sync_10-4463µs ± 0%450µs ± 0%−2.73%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithLimitOffset_Sync_100-4600µs ± 0%484µs ± 0%−19.31%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithMultiLookup_Sync_10-41.06ms ± 0%0.73ms ± 0%−31.73%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithMultiLookup_Sync_100-4893µs ± 0%725µs ± 0%−18.77%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSort_Sync_10-4552µs ± 0%453µs ± 0%−17.86%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSort_Sync_100-41.64ms ± 0%1.32ms ± 0%−19.14%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSort_Sync_1000-412.8ms ± 0%10.6ms ± 0%−16.89%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSingleLookup_Sync_10-4484µs ± 0%341µs ± 0%−29.44%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSingleLookup_Sync_100-4435µs ± 0%313µs ± 0%−28.07%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:0128-416.2µs ± 0%15.0µs ± 0%−7.61%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:0512-416.8µs ± 0%16.4µs ± 0%−2.27%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:1024-421.6µs ± 0%20.5µs ± 0%−5.33%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0064-4158µs ± 0%140µs ± 0%−11.17%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0128-4156µs ± 0%153µs ± 0%−2.11%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0256-4177µs ± 0%148µs ± 0%−16.73%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0512-4192µs ± 0%165µs ± 0%−14.05%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:1024-4232µs ± 0%200µs ± 0%−13.66%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0064-417.7µs ± 0%15.1µs ± 0%−14.74%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0128-417.1µs ± 0%15.9µs ± 0%−6.61%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0256-418.7µs ± 0%16.7µs ± 0%−10.82%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0512-423.8µs ± 0%18.8µs ± 0%−20.90%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0064-4150µs ± 0%145µs ± 0%−3.26%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0128-4156µs ± 0%149µs ± 0%−4.52%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0256-4171µs ± 0%153µs ± 0%−10.45%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0512-461.1µs ± 0%57.8µs ± 0%−5.46%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:1024-472.1µs ± 0%70.2µs ± 0%−2.58%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0064-4391µs ± 0%390µs ± 0%−0.26%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0128-4395µs ± 0%373µs ± 0%−5.63%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0256-4406µs ± 0%395µs ± 0%−2.81%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0512-4458µs ± 0%441µs ± 0%−3.72%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:1024-4518µs ± 0%509µs ± 0%−1.80%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0512-462.2µs ± 0%56.1µs ± 0%−9.81%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0064-4405µs ± 0%389µs ± 0%−3.94%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0128-4135µs ± 0%133µs ± 0%−1.69%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0256-4138µs ± 0%136µs ± 0%−1.65%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0064-41.35ms ± 0%1.33ms ± 0%−1.25%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0064-4135µs ± 0%122µs ± 0%−9.41%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0256-4131µs ± 0%124µs ± 0%−5.05%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0512-4135µs ± 0%126µs ± 0%−6.39%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0128-41.27ms ± 0%1.21ms ± 0%−4.65%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:1024-41.67ms ± 0%1.39ms ± 0%−16.63%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0064-410.0µs ± 0%8.6µs ± 0%−13.76%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0128-410.0µs ± 0%9.5µs ± 0%−4.56%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0256-411.9µs ± 0%10.4µs ± 0%−12.51%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0512-412.8µs ± 0%12.2µs ± 0%−4.90%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:1024-417.5µs ± 0%16.2µs ± 0%−7.61%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0064-4110µs ± 0%108µs ± 0%−2.13%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0128-4117µs ± 0%97µs ± 0%−16.83%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0064-4128µs ± 0%126µs ± 0%−1.99%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0128-4156µs ± 0%129µs ± 0%−17.40%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0256-4127µs ± 0%127µs ± 0%−0.07%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0064-41.31ms ± 0%1.19ms ± 0%−9.57%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0128-41.30ms ± 0%1.25ms ± 0%−3.91%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0512-41.47ms ± 0%1.26ms ± 0%−13.86%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:1024-41.52ms ± 0%1.30ms ± 0%−14.50%(p=1.000 n=1+1)
 
❌ See Worse Results...
time/opdelta
_Collection_UserSimple_CreateMany_Sync_0_100-4252ms ± 0%256ms ± 0%+1.77%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Sync_0_1000-41.05s ± 0%1.06s ± 0%+0.29%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_100_100-41.86ms ± 0%1.88ms ± 0%+1.08%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_1000_1000-424.9ms ± 0%28.6ms ± 0%+14.83%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithLimitOffset_Sync_1000-4469µs ± 0%472µs ± 0%+0.71%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithMultiLookup_Sync_1000-4704µs ± 0%718µs ± 0%+2.03%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSingleLookup_Sync_1000-4308µs ± 0%311µs ± 0%+0.97%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:0256-415.3µs ± 0%16.8µs ± 0%+10.17%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:1024-424.4µs ± 0%24.8µs ± 0%+1.74%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0512-4200µs ± 0%230µs ± 0%+14.91%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:1024-4222µs ± 0%239µs ± 0%+8.04%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0064-450.1µs ± 0%52.8µs ± 0%+5.43%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0128-448.9µs ± 0%52.2µs ± 0%+6.70%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0256-454.3µs ± 0%56.6µs ± 0%+4.21%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0064-450.8µs ± 0%52.3µs ± 0%+2.85%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0128-447.3µs ± 0%48.4µs ± 0%+2.39%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0256-451.8µs ± 0%57.4µs ± 0%+10.81%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:1024-468.3µs ± 0%68.6µs ± 0%+0.41%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0128-4400µs ± 0%414µs ± 0%+3.37%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0256-4407µs ± 0%445µs ± 0%+9.32%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0512-4448µs ± 0%452µs ± 0%+0.78%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:1024-4532µs ± 0%569µs ± 0%+7.11%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0064-4126µs ± 0%127µs ± 0%+0.44%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0512-4135µs ± 0%146µs ± 0%+8.49%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:1024-4156µs ± 0%171µs ± 0%+10.07%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0128-41.39ms ± 0%1.43ms ± 0%+2.39%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0256-41.24ms ± 0%1.46ms ± 0%+17.04%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0512-41.26ms ± 0%1.39ms ± 0%+9.72%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:1024-41.56ms ± 0%1.71ms ± 0%+9.24%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0128-4123µs ± 0%128µs ± 0%+4.11%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:1024-4135µs ± 0%142µs ± 0%+5.62%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0064-41.14ms ± 0%1.18ms ± 0%+2.94%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0256-41.24ms ± 0%1.32ms ± 0%+5.96%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0512-41.22ms ± 0%1.29ms ± 0%+5.59%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0256-4105µs ± 0%109µs ± 0%+4.09%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0512-4117µs ± 0%146µs ± 0%+24.26%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:1024-4177µs ± 0%182µs ± 0%+3.04%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0512-4126µs ± 0%129µs ± 0%+2.05%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:1024-4129µs ± 0%130µs ± 0%+0.05%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0256-41.19ms ± 0%1.23ms ± 0%+3.41%(p=1.000 n=1+1)
 
✨ See Unchanged Results...
time/opdelta
 
🐋 See Full Results...
develop.txtcurrent.txt
time/opdelta
pkg:collection goos:linux goarch:amd64
_Collection_UserSimple_CreateMany_Sync_0_10-411.3ms ± 0%15.4ms ± 0%+36.40%(p=1.000 n=1+1)
_Collection_UserSimple_CreateMany_Sync_0_100-4252ms ± 0%256ms ± 0%+1.77%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Sync_0_10-412.6ms ± 0%10.7ms ± 0%−15.31%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Sync_0_100-4118ms ± 0%103ms ± 0%−12.86%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Sync_0_1000-41.05s ± 0%1.06s ± 0%+0.29%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Async_0_100-446.6ms ± 0%46.2ms ± 0%−0.84%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Async_0_1000-4465ms ± 0%459ms ± 0%−1.34%(p=1.000 n=1+1)
_Collection_UserSimple_Create_Async_0_10000-44.72s ± 0%4.68s ± 0%−0.68%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_10_10-4380µs ± 0%364µs ± 0%−4.04%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_100_100-43.84ms ± 0%3.69ms ± 0%−3.87%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_1000_1000-440.4ms ± 0%39.1ms ± 0%−3.37%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_1000_10-4410µs ± 0%366µs ± 0%−10.84%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Sync_1000_100-45.36ms ± 0%3.82ms ± 0%−28.68%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_10_10-4279µs ± 0%261µs ± 0%−6.42%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_100_100-41.86ms ± 0%1.88ms ± 0%+1.08%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_1000_1000-424.9ms ± 0%28.6ms ± 0%+14.83%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_1000_10-4264µs ± 0%260µs ± 0%−1.48%(p=1.000 n=1+1)
_Collection_UserSimple_Read_Async_1000_100-41.90ms ± 0%1.87ms ± 0%−1.33%(p=1.000 n=1+1)
pkg:query/simple goos:linux goarch:amd64
_Query_UserSimple_Query_Sync_10-4536µs ± 0%378µs ± 0%−29.49%(p=1.000 n=1+1)
_Query_UserSimple_Query_Sync_100-41.60ms ± 0%1.18ms ± 0%−26.67%(p=1.000 n=1+1)
_Query_UserSimple_Query_Sync_1000-411.8ms ± 0%9.8ms ± 0%−17.40%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithFilter_Sync_10-4573µs ± 0%505µs ± 0%−11.88%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithFilter_Sync_100-41.70ms ± 0%1.41ms ± 0%−17.07%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithFilter_Sync_1000-410.0ms ± 0%9.9ms ± 0%−1.50%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithLimitOffset_Sync_10-4463µs ± 0%450µs ± 0%−2.73%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithLimitOffset_Sync_100-4600µs ± 0%484µs ± 0%−19.31%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithLimitOffset_Sync_1000-4469µs ± 0%472µs ± 0%+0.71%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithMultiLookup_Sync_10-41.06ms ± 0%0.73ms ± 0%−31.73%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithMultiLookup_Sync_100-4893µs ± 0%725µs ± 0%−18.77%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithMultiLookup_Sync_1000-4704µs ± 0%718µs ± 0%+2.03%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSort_Sync_10-4552µs ± 0%453µs ± 0%−17.86%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSort_Sync_100-41.64ms ± 0%1.32ms ± 0%−19.14%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSort_Sync_1000-412.8ms ± 0%10.6ms ± 0%−16.89%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSingleLookup_Sync_10-4484µs ± 0%341µs ± 0%−29.44%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSingleLookup_Sync_100-4435µs ± 0%313µs ± 0%−28.07%(p=1.000 n=1+1)
_Query_UserSimple_Query_WithSingleLookup_Sync_1000-4308µs ± 0%311µs ± 0%+0.97%(p=1.000 n=1+1)
pkg:storage goos:linux goarch:amd64
_Storage_Simple_Read_Sync_1_10/ValueSize:0064-415.0µs ± 0%14.5µs ± 0%−3.30%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:0128-416.2µs ± 0%15.0µs ± 0%−7.61%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:0256-415.3µs ± 0%16.8µs ± 0%+10.17%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:0512-416.8µs ± 0%16.4µs ± 0%−2.27%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_10/ValueSize:1024-421.6µs ± 0%20.5µs ± 0%−5.33%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0064-4158µs ± 0%140µs ± 0%−11.17%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0128-4156µs ± 0%153µs ± 0%−2.11%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0256-4177µs ± 0%148µs ± 0%−16.73%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:0512-4192µs ± 0%165µs ± 0%−14.05%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_1_100/ValueSize:1024-4232µs ± 0%200µs ± 0%−13.66%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0064-417.7µs ± 0%15.1µs ± 0%−14.74%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0128-417.1µs ± 0%15.9µs ± 0%−6.61%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0256-418.7µs ± 0%16.7µs ± 0%−10.82%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:0512-423.8µs ± 0%18.8µs ± 0%−20.90%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_10/ValueSize:1024-424.4µs ± 0%24.8µs ± 0%+1.74%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0064-4150µs ± 0%145µs ± 0%−3.26%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0128-4156µs ± 0%149µs ± 0%−4.52%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0256-4171µs ± 0%153µs ± 0%−10.45%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:0512-4200µs ± 0%230µs ± 0%+14.91%(p=1.000 n=1+1)
_Storage_Simple_Read_Sync_100_100/ValueSize:1024-4222µs ± 0%239µs ± 0%+8.04%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0064-450.1µs ± 0%52.8µs ± 0%+5.43%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0128-448.9µs ± 0%52.2µs ± 0%+6.70%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0256-454.3µs ± 0%56.6µs ± 0%+4.21%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:0512-461.1µs ± 0%57.8µs ± 0%−5.46%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_10/ValueSize:1024-472.1µs ± 0%70.2µs ± 0%−2.58%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0064-4391µs ± 0%390µs ± 0%−0.26%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0128-4395µs ± 0%373µs ± 0%−5.63%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0256-4406µs ± 0%395µs ± 0%−2.81%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:0512-4458µs ± 0%441µs ± 0%−3.72%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_0_100/ValueSize:1024-4518µs ± 0%509µs ± 0%−1.80%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0064-450.8µs ± 0%52.3µs ± 0%+2.85%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0128-447.3µs ± 0%48.4µs ± 0%+2.39%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0256-451.8µs ± 0%57.4µs ± 0%+10.81%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:0512-462.2µs ± 0%56.1µs ± 0%−9.81%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_10/ValueSize:1024-468.3µs ± 0%68.6µs ± 0%+0.41%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0064-4405µs ± 0%389µs ± 0%−3.94%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0128-4400µs ± 0%414µs ± 0%+3.37%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0256-4407µs ± 0%445µs ± 0%+9.32%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:0512-4448µs ± 0%452µs ± 0%+0.78%(p=1.000 n=1+1)
_Storage_Simple_WriteMany_Sync_100_100/ValueSize:1024-4532µs ± 0%569µs ± 0%+7.11%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0064-4126µs ± 0%127µs ± 0%+0.44%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0128-4135µs ± 0%133µs ± 0%−1.69%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0256-4138µs ± 0%136µs ± 0%−1.65%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:0512-4135µs ± 0%146µs ± 0%+8.49%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_10/ValueSize:1024-4156µs ± 0%171µs ± 0%+10.07%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0064-41.35ms ± 0%1.33ms ± 0%−1.25%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0128-41.39ms ± 0%1.43ms ± 0%+2.39%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0256-41.24ms ± 0%1.46ms ± 0%+17.04%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:0512-41.26ms ± 0%1.39ms ± 0%+9.72%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_0_100/ValueSize:1024-41.56ms ± 0%1.71ms ± 0%+9.24%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0064-4135µs ± 0%122µs ± 0%−9.41%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0128-4123µs ± 0%128µs ± 0%+4.11%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0256-4131µs ± 0%124µs ± 0%−5.05%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:0512-4135µs ± 0%126µs ± 0%−6.39%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_10/ValueSize:1024-4135µs ± 0%142µs ± 0%+5.62%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0064-41.14ms ± 0%1.18ms ± 0%+2.94%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0128-41.27ms ± 0%1.21ms ± 0%−4.65%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0256-41.24ms ± 0%1.32ms ± 0%+5.96%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:0512-41.22ms ± 0%1.29ms ± 0%+5.59%(p=1.000 n=1+1)
_Storage_Simple_Write_Sync_100_100/ValueSize:1024-41.67ms ± 0%1.39ms ± 0%−16.63%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0064-410.0µs ± 0%8.6µs ± 0%−13.76%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0128-410.0µs ± 0%9.5µs ± 0%−4.56%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0256-411.9µs ± 0%10.4µs ± 0%−12.51%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:0512-412.8µs ± 0%12.2µs ± 0%−4.90%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_10_10/ValueSize:1024-417.5µs ± 0%16.2µs ± 0%−7.61%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0064-4110µs ± 0%108µs ± 0%−2.13%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0128-4117µs ± 0%97µs ± 0%−16.83%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0256-4105µs ± 0%109µs ± 0%+4.09%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:0512-4117µs ± 0%146µs ± 0%+24.26%(p=1.000 n=1+1)
_Storage_Simple_Txn_Read_Sync_100_100/ValueSize:1024-4177µs ± 0%182µs ± 0%+3.04%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0064-4128µs ± 0%126µs ± 0%−1.99%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0128-4156µs ± 0%129µs ± 0%−17.40%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0256-4127µs ± 0%127µs ± 0%−0.07%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:0512-4126µs ± 0%129µs ± 0%+2.05%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_10_1_10/ValueSize:1024-4129µs ± 0%130µs ± 0%+0.05%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0064-41.31ms ± 0%1.19ms ± 0%−9.57%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0128-41.30ms ± 0%1.25ms ± 0%−3.91%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0256-41.19ms ± 0%1.23ms ± 0%+3.41%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:0512-41.47ms ± 0%1.26ms ± 0%−13.86%(p=1.000 n=1+1)
_Storage_Simple_Txn_Iterator_Sync_100_1_100/ValueSize:1024-41.52ms ± 0%1.30ms ± 0%−14.50%(p=1.000 n=1+1)
 

Dockerfile Outdated Show resolved Hide resolved
@orpheuslummis orpheuslummis changed the title chore: Improve robustness of Docker support ci: Run Containerfile, Builder Containerfile Jan 6, 2023
@orpheuslummis orpheuslummis marked this pull request as ready for review January 7, 2023 22:01
@orpheuslummis orpheuslummis requested a review from a team January 13, 2023 17:14
@AndrewSisley
Copy link
Contributor

Just noting that I am happy with it, but am highly inexperienced with docker and would like you to wait for approval from someone who is not me before merging.

@orpheuslummis
Copy link
Contributor Author

Just noting that I am happy with it, but am highly inexperienced with docker and would like you to wait for approval from someone who is not me before merging.

two criticism of this PR are :
A) there is no more 'Dockerfile' at root-level, making it slightly more non-obvious to find the containerfile and build it
B) the files use the new 'containerfile' nomenclature

my replies to this:
A) documentation in docs.source.network will make it easy. I think that's the kind of thing that shouldn't be on the README.
B) I describe the approach as forward looking because while Docker popularized the container, it is a single project and the world is moving on to a more generic container description with e.g. podman

Copy link
Collaborator

@fredcarle fredcarle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple comments to discuss before approval :)

tools/defradb.dockerfile Outdated Show resolved Hide resolved
tools/defradb.dockerfile Outdated Show resolved Hide resolved
Copy link
Collaborator

@fredcarle fredcarle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@shahzadlone shahzadlone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (I didn't test the file, assuming you have ran it and tested it).

@jsimnz jsimnz modified the milestones: DefraDB v0.4, DefraDB v0.5 Jan 20, 2023
@codecov
Copy link

codecov bot commented Jan 27, 2023

Codecov Report

Merging #951 (e551aea) into develop (825e749) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #951      +/-   ##
===========================================
+ Coverage    68.14%   68.16%   +0.01%     
===========================================
  Files          172      172              
  Lines        16246    16246              
===========================================
+ Hits         11071    11074       +3     
+ Misses        4245     4243       -2     
+ Partials       930      929       -1     
Impacted Files Coverage Δ
net/server.go 58.23% <0.00%> (+1.14%) ⬆️

@shahzadlone
Copy link
Member

👀
Merge branch 'develop' into orpheus/chore/docker-works

@orpheuslummis orpheuslummis merged commit e6ea3fa into develop Jan 27, 2023
@orpheuslummis orpheuslummis deleted the orpheus/chore/docker-works branch January 27, 2023 15:54
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. ci/build This is issue is about the build or CI system, and the administration of it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update badger version to prevent mremap size error.
6 participants