Skip to content

Instantly share code, notes, and snippets.

@SergiusTheBest
Created December 24, 2019 17:37
Show Gist options
  • Save SergiusTheBest/3995cde281bb799b007a775bab84764d to your computer and use it in GitHub Desktop.
Save SergiusTheBest/3995cde281bb799b007a775bab84764d to your computer and use it in GitHub Desktop.
Sample package.json for testing delete folder speed on Windows/Linux
{
"name": "demo",
"version": "1.0.0",
"build_number": "1",
"description": "demo",
"main": "main.js",
"dependencies": {
"electron-notify": "0.1.0",
"electron-unhandled": "1.1.0",
"node-ipc": "9.1.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.7.5",
"@angular/cli": "6.1.4",
"@angular/common": "6.1.4",
"@angular/compiler": "6.1.4",
"@angular/compiler-cli": "6.1.4",
"@angular/core": "6.1.4",
"@angular/forms": "6.1.4",
"@angular/http": "6.1.4",
"@angular/language-service": "6.1.4",
"@angular/platform-browser": "6.1.4",
"@angular/platform-browser-dynamic": "6.1.4",
"@angular/router": "6.1.4",
"@fortawesome/angular-fontawesome": "0.1.1",
"@fortawesome/fontawesome-svg-core": "1.2.0",
"@fortawesome/free-solid-svg-icons": "5.1.0",
"@ngx-translate/core": "10.0.2",
"@ngx-translate/http-loader": "3.0.1",
"@types/chai": "4.1.4",
"@types/mocha": "5.2.4",
"@types/node": "8.9.4",
"bootstrap": "4.1.3",
"chai": "4.1.2",
"core-js": "2.5.6",
"electron": "2.0.8",
"electron-builder": "^21.2.0",
"electron-rebuild": "1.8.8",
"electron-reload": "1.2.5",
"ncp": "2.0.0",
"node-gyp": "^4.0.0",
"node-sass": "^4.11.0",
"npm-run-all": "4.1.3",
"ts-node": "6.0.3",
"tslint": "5.10.0",
"typescript": "^2.9.2",
"wait-on": "2.1.0",
"webdriver-manager": "12.0.6",
"zone.js": "0.8.26"
}
}
@SergiusTheBest
Copy link
Author

SergiusTheBest commented Dec 24, 2019

Run npm i then delete node_modules folder and measure how much time does it take for your OS. Don't use Recycle Bin because it will be a move operation instead of delete!

@SergiusTheBest
Copy link
Author

SergiusTheBest commented Apr 30, 2020

This one is on Linux:
Peek 2021-09-01 20-46
And this is on WIndows:
demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment