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

FS#1621 - 75ab064d2b38e70746af1718ed7cdbafb906249e makes defconfig very slow #6553

Closed
openwrt-bot opened this issue Jun 28, 2018 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

f00b4r0:

commit 75ab064 'build: download code from github using archive API' introduces a new script "download.py" which is used during 'make defconfig':

26368 pts/0 S+ 0:00 | _ make V=s defconfig
26464 pts/0 S+ 0:00 | _ /bin/sh -c export MAKEFLAGS= ;make V=ss -j1 -r -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="/home/user/source/include/pac
26465 pts/0 S+ 0:00 | _ make V=ss -j1 -r -s -f include/scan.mk SCAN_TARGET=packageinfo SCAN_DIR=package SCAN_NAME=package SCAN_DEPS=/home/user/source/include/package*.mk SCAN_DEPTH=5 SCAN_EXTRA=
26806 pts/0 S+ 0:00 | _ /bin/sh -c { ?printf "\033[M\rCollecting package info: package/network/utils/arptables" >&2; echo Source-Makefile: package/network/utils/arptables/Makefile; true; make V
26807 pts/0 S+ 0:00 | _ make V=ss --no-print-dir -r DUMP=1 FEED= -C package/network/utils/arptables
26809 pts/0 R+ 0:00 | _ python /home/user/source/scripts/download.py dl_method --url https://git.netfilter.org/arptables --proto=git

This commit makes defconfig go from about 10s runtime to approx 3mn, or a ~18x slowdown.

@openwrt-bot
Copy link
Author

luaraneda:

Before the problem was fixed, I collected some data, should anyone need it in the future for reference: https://pastebin.com/MLQL9PR9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant