Comments (4)
Thank you for useful advice for my fork.
I added --numeric-owner
option to issue-39 branch.
Can you review performance improvement about 4498eca on issue-39 branch ?
I measured performance by below commands:
# Prepare a package to measure performance
# Currently, cygwin-doc has 12 folders and 956 files.
# If this package is not enough to measure performance,
# please choose another one which is enough to measure performance.
pkg=cygwin-doc
# Cache a $pkg package to cygwin cache folder
apt-cyg remove $pkg
apt-cyg install $pkg
# Prepare branches
git clone https://github.com/kou1okada/apt-cyg -b master /tmp/apt-cyg-master
git clone https://github.com/kou1okada/apt-cyg -b issue-39 /tmp/apt-cyg-issue-39
# Measure performance without this patch
apt-cyg remove $pkg
time /tmp/apt-cyg-master/apt-cyg -u install $pkg
# Measure performance with this patch
apt-cyg remove $pkg
time /tmp/apt-cyg-issue-39/apt-cyg -u install $pkg
A result on my environment (sorry, I have no environment with Active Directory) was below:
$ time /tmp/apt-cyg-master/apt-cyg -u install $pkg
...
real 0m5.693s
user 0m0.761s
sys 0m1.796s
$ time /tmp/apt-cyg-issue-39/apt-cyg -u install $pkg
...
real 0m5.598s
user 0m0.669s
sys 0m1.408s
Best regard.
from apt-cyg.
The delay in a single tar xvf
would measure as noticeable seconds when the tarball has a user ID not present in /etc/passwd
and net users /domains
shows thousands users. I forgot the exact mechanism Cygwin relies on in resolving user IDs and whether it is configurable.
The --numeric-owner
option could apply to all tar xvf
invokations such as unpacking the actual packages.
from apt-cyg.
Hmm, thanks.
I want to know the quantitative benefit of the performance.
And I hope there is no side effect.
from apt-cyg.
4498eca was merged to master.
from apt-cyg.
Related Issues (20)
- don't require git to perform upgrade-self HOT 1
- How to update a package? HOT 3
- apt-cyg install issues - Cygwin 3.1.2 HOT 18
- Was the category subcommand removed? HOT 2
- apt-cyg blocks from a missing cygwinports.org HOT 1
- Improved mirrors-list HOT 1
- Bug in category subcommand HOT 1
- Set default installation path to /usr/bin or /usr/local/bin path HOT 1
- homepage: command not found HOT 1
- Bad GPG signature warnings again HOT 2
- Very Hard to Install and not working, getting error HOT 3
- Output capping [enhancement] HOT 1
- Installing specific version of the HOT 2
- updating setup.ini failed HOT 12
- The dependencies cannot be solved. HOT 2
- Type p of postinstall scripts must not be marked .done HOT 1
- /etc/postinstall/*.dash are required to be executed.
- Set timeout limit for mirror benchmark? HOT 5
- Removing orphaned auto-packages HOT 1
- Can't create '\\\\?\\C:\\usr\\bin\\free.exe' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apt-cyg.