# testcafe results - no check ## concurrency = 1 4.81 seconds mopub 4.012 seconds careers 4.402 seconds business 3 passed (22s) `yarn testcafe -c 1 chrome:headless spec.js --skip-js-errors`: 7.68s user 0.99s system 28% cpu **30.067 total** ## concurrency = 3 4.011 seconds careers 4.605 seconds mopub 5.521 seconds business 3 passed (9s) `yarn testcafe -c 3 chrome:headless spec.js --skip-js-errors`: 8.14s user 1.20s system 53% cpu **17.422 total** ## spec.js ```js fixture('concurrent').after(async fixtureCtx => fixtureCtx); const pages = [ {name: 'mopub', path: 'https://www.mopub.com/content/mopub-aem-twitter/en'}, {name: 'careers', path: 'https://careers.twitter.com/content/careers-twitter/en.html'}, {name: 'business', path: 'https://business.twitter.com/content/business-twitter/en.html'}, ]; for (let i = 0; i < pages.length; i++) { const name = pages[i].name; const path = pages[i].path; test(name, async t => { const start0 = Date.now(); await new Promise(res => setTimeout(res, 3000)); await t.navigateTo(path); console.log(`${(Date.now() - start0) / 1000} seconds ${name}`); }); } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up