Sha256: 6f1c3974d06df8adaa7c11671a179844cfe3cc8da48e34f3eb860c362ae882a6

Contents?: true

Size: 956 Bytes

Versions: 3

Compression:

Stored size: 956 Bytes

Contents

'use strict';
const common = require('../common');

// TODO(mhdawson) Currently the test-tick-processor functionality in V8
// depends on addresses being smaller than a full 64 bits.  AIX supports
// the full 64 bits and the result is that it does not process the
// addresses correctly and runs out of memory
// Disabling until we get a fix upstreamed into V8
if (common.isAix) {
  common.skip('AIX address range too big for scripts.');
  return;
}

if (!common.enoughTestCpu) {
  common.skip('test is CPU-intensive');
  return;
}

const base = require('./tick-processor-base.js');

// Unknown checked for to prevent flakiness, if pattern is not found,
// then a large number of unknown ticks should be present
base.runTest({
  pattern: /LazyCompile.*\[eval]:1|.*%  UNKNOWN/,
  code: `function f() {
           for (var i = 0; i < 1000000; i++) {
             i++;
           }
           setImmediate(function() { f(); });
         };
         f();`
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
node-compiler-0.9.1 vendor/node/test/tick-processor/test-tick-processor-unknown.js
node-compiler-0.9.0 vendor/node-v7.2.1/test/tick-processor/test-tick-processor-unknown.js
node-compiler-0.8.0 vendor/node-v7.2.0/test/tick-processor/test-tick-processor-unknown.js