Based on this question with some adjustments https://stackoverflow.com/questions/20220270/posting-multipart-form-data-with-apache-bench-ab
You'll need a text file post_data.txt with the following contents:
| jest.mock('react-native/Libraries/BatchedBridge/NativeModules', () => ({ | |
| AlertManager: { | |
| alertWithArgs: jest.fn(), | |
| }, | |
| AsyncLocalStorage: { | |
| multiGet: jest.fn((keys, callback) => | |
| process.nextTick(() => callback(null, [])), | |
| ), | |
| multiSet: jest.fn((entries, callback) => | |
| process.nextTick(() => callback(null)), |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "time" | |
| ) | |
| func main() { | |
| queue := NewQueue("amqp://guest:guest@localhost:5672/", "hello") |
Based on this question with some adjustments https://stackoverflow.com/questions/20220270/posting-multipart-form-data-with-apache-bench-ab
You'll need a text file post_data.txt with the following contents:
| build:install-vendor: | |
| stage: build | |
| image: <any-image-with-composer> | |
| before_script: | |
| - composer config -g cache-dir "$(pwd)/.composer-cache" | |
| script: | |
| - composer install --ignore-platform-reqs --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress | |
| cache: | |
| paths: | |
| - .composer-cache/ |
| /* eslint-disable prefer-template */ | |
| const path = require('path'); | |
| const aliases = require('./aliases'); | |
| // /////////////////////////////////////////////////////////////// | |
| // ////////////////// PLUGINS //////////////////////////////// | |
| // /////////////////////////////////////////////////////////////// | |
| const commonPlugins = [ |
| package main | |
| import ( | |
| "encoding/xml" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| ) |
| Possible values for ext-name: | |
| bcmath | |
| bz2 | |
| calendar | |
| ctype | |
| curl | |
| dba | |
| dom | |
| enchant |
| package main | |
| import ( | |
| "io/ioutil" | |
| "log" | |
| "strings" | |
| "net/http" | |
| "encoding/json" | |
| "fmt" | |
| "time" |
| <?php | |
| function convert($size) | |
| { | |
| $unit=array('b','kb','mb','gb','tb','pb'); | |
| return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i]; | |
| } | |
| convert(memory_get_usage()); |