[Trial] js-concurrent_promise

Node: Open the Developer tools to perform the operation.

Usage

Run Test

test.run( target_module, promise_number, max_concurrent_worker );

  - target_module: Test target module( concurrentPromise / concurrent_promise )
    > concurrentPromise: simple version (run Promise.all with each max_concurrent_worker)
    > concurrent_promise: efficiency improvement version
  
  - promise_number: Total Promise number
  - max_concurrent_worker: Max concurrent Promise number (default: 10)

Ex.1) test.run( concurrentPromise, 100, 10 );
Ex.2) test.run( concurrent_promise, 100, 10 );
            

Cancel Test

test.cancel();