This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==================================================================== | |
// CODE FOR issue https://bugs.chromium.org/p/v8/issues/detail?id=9443 | |
// ==================================================================== | |
const fs = require('fs'); | |
const readFile = fs.promises.readFile; | |
/* | |
#### RESULTS #### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* node.js v12.6.0, TypeScript - i.e. ES2018 + type annotations */ | |
/* | |
=============================================== | |
OLD VERSION (using fs.readFile) | |
=============================================== | |
With this function I did NOT get a full async stacktrace. Example: | |
FileNotFoundError: File not found: c3ba0f23b58a5c645b7f3e803b1ba5af42d8d2f9262b029d2718a89709ba0b03 [objects] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
'root': true, | |
// eslint recommended defaults can be found in [INSTALL_DIR]/eslint/conf/eslint.json | |
'extends': [ | |
'eslint:recommended', | |
'plugin:@typescript-eslint/recommended' | |
], | |
'parser': '@typescript-eslint/parser', | |
'parserOptions': { | |
'ecmaFeatures': {}, |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rt":{"line":27,"character":47},"end":{"line":27,"character":56}}},"message":"[2] `WebSocket`"}]}]}} | |
Content-Length: 378 | |
{"jsonrpc":"2.0","method":"telemetry/event","params":{"type":1,"message":"Server fatal exception: [] End_of_file\nRaised at file \"map.ml\", line 130, characters 10-25\nCalled from file \"hack/utils/collections/myMap.ml\", line 15, characters 13-23\n---\nRaised at file \"string.ml\", line 118, characters 19-34\nCalled from file \"sexp.ml\", line 112, characters 13-47\n"}} | |
Content-Length: 159 | |
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/mha/one.core/src/system-moddable/websocket.js","diagnostics":[]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// @flow | |
'use strict'; | |
/* eslint-disable arrow-parens, no-console, no-await-in-loop */ | |
const {basename, dirname, join, relative} = require('path'); | |
const {promisify} = require('util'); | |
const crypto = require('crypto'); | |
const exec = promisify(require('child_process').exec); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Untitled benchmark #jsbench #jsperf</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
'root': true, | |
// eslint recommended defaults can be found in [INSTALL_DIR]/eslint/conf/eslint.json | |
'extends': [ | |
'eslint:recommended', | |
"plugin:flowtype/recommended" | |
], | |
'parser': 'babel-eslint', | |
'parserOptions': { | |
'ecmaVersion': 6, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="dialogContent" name="" class="dialog_content"> | |
<form id="loginForm" name="" class="loginForm" method="post" action=""> | |
<div id="" name="" class="formular"> | |
<p id="" name="" class="">Melden Sie sich mit Ihrem Benutzernamen und Ihrem Kennwort an.</p> | |
<label for="uiViewUser">Benutzername</label> | |
<select id="uiViewUser" name="uiUser" class=""> | |
<option value="">Bitte wählen ...</option> | |
<option value="ftpuser">ftpuser</option> | |
<option value="mha">mha</option> | |
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executing tasks: [:generateDebugSources, :generateDebugAndroidTestSources, :mockableAndroidJar, :prepareDebugUnitTestDependencies] | |
Configuration on demand is an incubating feature. | |
Incremental java compilation is an incubating feature. | |
:preBuild UP-TO-DATE | |
:preDebugBuild UP-TO-DATE | |
:checkDebugManifest | |
:preDebugAndroidTestBuild UP-TO-DATE | |
:preDebugUnitTestBuild UP-TO-DATE | |
:preReleaseBuild UP-TO-DATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
'use strict'; | |
// Needed to create a _really_ asynchronous function. A fake asynchronous function (returning | |
// "Promise.reject()" right away, for example) actually creates a stacktrace. | |
const wait = delay => new Promise(resolve => setTimeout(() => resolve(), delay)); | |
// Some deeply nested (in the actual call hierarchy) asynchronous function that throws an error. | |
const fnError = async () => { | |
await wait(1); |
NewerOlder