https://speakerdeck.com/brn/source-to-binary-journey-of-v8-javascript-engine
青野健利 a.k.a brn
V8の話
コードを全部パースすると重い
functionの外観だけを先にパースする
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Narrator.exe] | |
"Debugger"="%1" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\AtBroker.exe] | |
"Debugger"="%1" | |
import {jsdom} from "jsdom"; | |
import * as jquery from "jquery"; | |
declare global{ | |
interface Window{ | |
XMLHttpRequest:XMLHttpRequest; | |
} | |
namespace NodeJS{ | |
interface Global { |
https://speakerdeck.com/brn/source-to-binary-journey-of-v8-javascript-engine
青野健利 a.k.a brn
V8の話
コードを全部パースすると重い
functionの外観だけを先にパースする
/* | |
* The following code was taken from: http://schemingdeveloper.com | |
* | |
* Visit our game studio website: http://stopthegnomes.com | |
* | |
* License: You may use this code however you see fit, as long as you include this notice | |
* without any modifications. | |
* | |
* You may not publish a paid asset on Unity store if its main function is based on | |
* the following code, but you may publish a paid asset that uses this code. |
public static AnimationClip CreateAnimationClip(VMDFormat format, int interpolationQuality) | |
{ | |
VMDVRoidConverter converter = new VMDVRoidConverter(); | |
//アニメーションクリップを作成 | |
AnimationClip clip = new AnimationClip(); | |
clip.name = "output_test"; | |
//キーフレーム作成 | |
AnimationCurve retCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)); | |
//カーブ作成 |
$ node -v
v12.12.0
$ node promise.js
pure: 4.863ms
promise: 47.649ms
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using UnityEngine.Rendering.Universal; | |
public class GrabScreenFeature : ScriptableRendererFeature | |
{ | |
[System.Serializable] | |
public class Settings |