v8   2392

« earlier     later »

V8 JavaScript Engine: Background compilation
"Starting with Chrome 66, V8 compiles JavaScript source code on a background thread, reducing the amount of time spent compiling on the main thread by between 5% to 20% on typical websites."
V8  JavaScript  Chrome  webperf  clevermarks 
may 2018 by nhoizey
b49206ded97c4eaac7c273ce004d840a0185d40e - v8/v8 - Git at Google
For use cases with a large number of threads or a large number of isolates (or
both), ThreadDataTable can be a major performance bottleneck due to O(n)
lookup time of the linked list. Switching to a hash map reduces this to O(1).

Example 1: Sandstorm.io, a Node.js app that utilizes "fibers", was observed
spending the majority of CPU time iterating over the ThreadDataTable.
See: https://sandstorm.io/news/2016-09-30-fiber-bomb-debugging-story

Example 2: Cloudflare's Workers engine, a high-multi-tenancy web server
framework built on V8 (but not Node), creates large numbers of threads and
isolates per-process. It saw a 34x improvement in throughput when we applied
this patch.
perf  chromium  v8  nodejs  node  cloudflare 
april 2018 by vielmetti
How JavaScript works: inside the V8 engine + 5 tips on how to write optimized code
Couple of weeks ago we started a series aimed at digging deeper into JavaScript and how it actually works: we thought that by knowing the building blocks of JavaScript and how they come to play…
javascript  optimize  v8  instapaper 
april 2018 by oppara

« earlier    later »

related tags

(automobile  (automotive  (award  (piston  -  1802  1953  1962-1965  2004  2017  327  390  4.6l  4  575  63  a  abandoned  air  alexzlatkov  amazingcars247  amg  antique  article  ascari  async/await  async  auto  automobile  aviation  bag  bestpractices  big  bigint  bitturbo  bk34  block  blog  bowl  browser  buick  build  bundler  bytecode  c...  c  c63s  cadillac  car  cars  carvlogger  cdn  chacra  chevrolet  chevy  chicago  chrome  chromium  chrysler  class)  cleaning  clevermarks  closure  cloudflare  code  company)  compiler  compilers  configuration)  context  coupé  crown  cs131  cs132  csv  data  debug  debugging  detroit  dev  development  deville  displacement.-  documentation  drag  dyson  electron  engine  engines  executable  exterior  fastest  fluffy  flying  for  ford  fuel  garbage-collector  gc  gm  gmc  gnu  golang  goodstuff  guide  guile  heap  hemi  history  howto  ifttt  ignition  in  injected  insert  inside  instapaper  intake  interesting  interior  internals  interpreter  ios  is  jaguar  javascript  jeep  jet  joyent  js  junkyard  jvm  labor  lexical  library  limousine  ls  luftfahrt  luxury  make)  manifold  matic  mdb  memory  mercedes-amg  mercedes-benz  microsoft  mile  monomorphism  most  napa  napajs  new  nitrous  node.js  node  nodejs  npm  of  old  on  oop  optimisation  optimization  optimize  original  paper  parsing  part  perf  performance  php  pi2  plt  polymorphism  pontiac  power  premium  product  profiling  programming  pwn  quarter  query  race  racing  ram  raspberry  react  reading  record  red  reference  replace  review:  ride  riders  runtime  rust  s63  saloon  service-workers  smartos  software  sound  source-maps  speedway  spidermonkey  ssr  stack  supe...  suspension  testing  the  theory  thephpleague  this  tips  today  tools  torque  towing  tracing  track  tutorial  twitter  union  up  v4  v5  v6  victoria  vintage  webasm  webassembly  webperf  week  weekly.rc  wheel  why  winner)  with  wordpress  world  writeup  xjr 

Copy this bookmark:



description:


tags: