gunicorn run:app --workers=9
gunicorn run:app --workers=9 --worker-class=meinheld.gmeinheld.MeinheldWorker
Macbook Pro 2015 Python 3.7
| Framework | Server | Req/s | Max latency | +/- Stdev |
|---|
| node { | |
| echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
| echo 'No quotes, pipeline command in single quotes' | |
| sh 'echo $BUILD_NUMBER' // 1 | |
| echo 'Double quotes are silently dropped' | |
| sh 'echo "$BUILD_NUMBER"' // 1 | |
| echo 'Even escaped with a single backslash they are dropped' | |
| sh 'echo \"$BUILD_NUMBER\"' // 1 | |
| echo 'Using two backslashes, the quotes are preserved' | |
| sh 'echo \\"$BUILD_NUMBER\\"' // "1" |
| # Generate a 440 Hz square waveform in Pygame by building an array of samples and play | |
| # it for 5 seconds. Change the hard-coded 440 to another value to generate a different | |
| # pitch. | |
| # | |
| # Run with the following command: | |
| # python pygame-play-tone.py | |
| from array import array | |
| from time import sleep |
gunicorn run:app --workers=9
gunicorn run:app --workers=9 --worker-class=meinheld.gmeinheld.MeinheldWorker
Macbook Pro 2015 Python 3.7
| Framework | Server | Req/s | Max latency | +/- Stdev |
|---|
| # Enable Realtek driver power management, this is the default value | |
| REG ADD "HKCU\Software\Realtek\RAVCpl64\PowerMgnt" /v "Enabled" /t REG_DWORD /d 1 /f | |
| # Disable Realtek driver power management, sometimes fixes realtek popping sound | |
| REG ADD "HKCU\Software\Realtek\RAVCpl64\PowerMgnt" /v "Enabled" /t REG_DWORD /d 0 /f | |
| # Replace XXXX with the corresponding key that has "Realtek" in the "DriverDesc", find using regedit | |
| REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}\XXXX\PowerSettings" /v "IdlePowerState" /t REG_BINARY /d "ffffffff" /f | |
| REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}\XXXX\PowerSettings" /v "PerformanceIdleTime" /t REG_BINARY /d "ffffffff" /f | |
| # Example if class is in 0000 |
| meta: | |
| id: psd | |
| file-extension: psd | |
| endian: be | |
| seq: | |
| - id: file_header | |
| type: file_header | |
| - id: color_mode_data | |
| type: color_mode_data | |
| - id: image_resources |
This tool helps you clean up GitHub notifications from repositories that no longer exist ("phantom notifications"), which can clutter your notification feed.
The Node.js script comes from this GitHub Community discussion with minor modifications to console output.