diff options
author | Hidehiko Abe <hidehiko@chromium.org> | 2017-06-14 02:28:21 +0900 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-12-02 13:17:10 -0800 |
commit | d9522ba661b5ae1e55ad595af2e913db755f184e (patch) | |
tree | 054e1cfe5f7c1af735ad86716d85b56233f59d48 /COPYING | |
parent | COPYING: add header paragraph (diff) | |
download | gentoo-portage-d9522ba661b5ae1e55ad595af2e913db755f184e.tar.xz gentoo-portage-d9522ba661b5ae1e55ad595af2e913db755f184e.zip |
Rewrite doins in python (bug 624526)
doins is written in bash. However, specifically in case that
too many files are installed, it is very slow.
This CL rewrites the script in python for performance.
BUG=chromium:712659
TEST=time (./setup_board --forace && \
./build_package --withdev && \
./build_image --noenable_rootfs_verification test)
===Before===
real 21m35.445s
user 93m40.588s
sys 21m31.224s
===After===
real 17m30.106s
user 94m1.812s
sys 20m13.468s
Change-Id: Ib10f623961ba316753d58397cff5e72fbc343339
Reviewed-on: https://chromium-review.googlesource.com/559225
X-Chromium-Bug: 712659
X-Chromium-Bug-url: https://bugs.chromium.org/p/chromium/issues/detail?id=712659
Reviewed-by: Manuel RĂ¼ger <mrueg@gentoo.org>
Bug: https://bugs.gentoo.org/624526
Diffstat (limited to 'COPYING')
-rw-r--r-- | COPYING | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -4,3 +4,32 @@ Upstream-Contact: Zac Medico <zmedico@gentoo.org> Source: https://gitweb.gentoo.org/proj/portage.git/ Copyright: Copyright 1999-2017 Gentoo Foundation License: GPL-2+ (See LICENSE) + +Files: bin/doins.py +Copyright: Copyright 2017 The Chromium OS Authors. All rights reserved. +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |