Skip to content

Replace jpillora/backoff with cenkalti/backoff/v4#9006

Merged
zachmu merged 1 commit intodolthub:mainfrom
Juneezee:backoff
Mar 21, 2025
Merged

Replace jpillora/backoff with cenkalti/backoff/v4#9006
zachmu merged 1 commit intodolthub:mainfrom
Juneezee:backoff

Conversation

@Juneezee
Copy link
Copy Markdown
Contributor

This is a drop-in replacement.

Both github.com/jpillora/backoff and github.com/cenkalti/backoff/v4 provide exponential backoff implementations. Since we already use github.com/cenkalti/backoff/v4 elsewhere in the codebase, this change standardizes our dependency by using a single implementation consistently.

A drop-in replacement.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Copy link
Copy Markdown
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

Seems fine, thanks for the contribution.

@zachmu zachmu merged commit c1c677a into dolthub:main Mar 21, 2025
19 of 21 checks passed
@github-actions
Copy link
Copy Markdown

@coffeegoddd DOLT

test_name detail row_cnt sorted mysql_time sql_mult cli_mult
batching LOAD DATA 10000 1 0.07 1.29
batching batch sql 10000 1 0.15 0.8
batching by line sql 10000 1 0.1 1.2
blob 1 blob 200000 1 0.93 3.73 4.4
blob 2 blobs 200000 1 0.9 4.36 4.7
blob no blob 200000 1 0.93 2.4 2.74
col type datetime 200000 1 0.79 2.57 2.84
col type varchar 200000 1 0.72 3.31 3.69
config width 2 cols 200000 1 0.85 2.36 2.66
config width 32 cols 200000 1 1.89 2.01 2.75
config width 8 cols 200000 1 0.97 2.41 2.73
pk type float 200000 1 2.19 0.95 1.06
pk type int 200000 1 0.86 2.38 2.63
pk type varchar 200000 1 1.49 1.73 1.84
row count 1.6mm 1600000 1 5.59 3.06 2.99
row count 400k 400000 1 1.48 2.82 2.87
row count 800k 800000 1 2.83 2.99 2.96
secondary index four index 200000 1 3.63 1.42 1.28
secondary index no secondary 200000 1 0.98 2.26 2.63
secondary index one index 200000 1 1.17 2.41 2.5
secondary index two index 200000 1 2.08 1.73 1.79
sorting shuffled 1mm 1000000 0 5.22 2.89 2.82
sorting sorted 1mm 1000000 1 5.15 2.94 2.8

@github-actions
Copy link
Copy Markdown

@coffeegoddd DOLT

name detail mean_mult
dolt_blame_basic system table 1.2
dolt_blame_commit_filter system table 2.96
dolt_commit_ancestors_commit_filter system table 0.63
dolt_commits_commit_filter system table 1.05
dolt_diff_log_join_from_commit system table 2.75
dolt_diff_log_join_to_commit system table 2.75
dolt_diff_table_from_commit_filter system table 1.11
dolt_diff_table_to_commit_filter system table 1.12
dolt_diffs_commit_filter system table 1.03
dolt_history_commit_filter system table 1.25
dolt_log_commit_filter system table 1.17

@github-actions
Copy link
Copy Markdown

@coffeegoddd DOLT

name add_cnt delete_cnt update_cnt latency
adds_only 60000 0 0 1.11
adds_updates_deletes 60000 60000 60000 4.54
deletes_only 0 60000 0 2.48
updates_only 0 0 60000 3.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants