History

incorporate dynamic chunking into 'less-time' algorithm

Sebastian Thiel committed 6 years ago

Commit 295aa2f1 parent a8422cf4 files · +66 −33Browse files

Showing the changes to git-features/src (1 of 4 files). Show all

Unified · Split

git-features/src/parallel.rs+1−1
@@ -122,7 +122,7 @@ pub fn optimize_chunk_size_and_thread_limit( · 121 unmodified lines
122122 .map(|l| if l == 0 { available_threads } else { l })
123123 .unwrap_or(available_threads);
124124
125− let (lower, upper) = (50, 500);
125+ let (lower, upper) = (50, 1000);
126126 let (chunk_size, thread_limit) = num_items
127127 .map(|num_items| {
128128 let desired_chunks_per_thread_at_least = 2;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t