Bug 230955 - [patch] Some speedup mergemaster
Summary: [patch] Some speedup mergemaster
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Keywords: easy, install, patch, patch-ready
Depends on:
Reported: 2018-08-27 17:15 UTC by Dmitry Wagin
Modified: 2020-10-05 15:27 UTC (History)
1 user (show)

See Also:

patch-mergemaster.sh (607 bytes, application/x-shellscript)
2018-08-27 17:15 UTC, Dmitry Wagin
no flags Details
patch-mergemaster (607 bytes, patch)
2018-08-27 17:19 UTC, Dmitry Wagin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Wagin 2018-08-27 17:15:56 UTC
Created attachment 196605 [details]

adding the '-m1' flag to grep will small speedup mergemaster.

> man grep

-m num, --max-count=num
    Stop reading the file after num matches.
Comment 1 Dmitry Wagin 2018-08-27 17:19:04 UTC
Created attachment 196606 [details]
Comment 2 Mark Johnston freebsd_committer 2020-10-05 15:27:53 UTC
Sorry that this never got attention.  I tried it and didn't observe any significant speedup.