3 ms·
V8-based projects can benefit from this as well: http://www.hashseed.net/2015/03/improving-v8s-performance-using.html http://www.hashseed.net/2015/03/improving-
by hashseed 12y ago
V8-based projects can benefit from this as well: http://www.hashseed.net/2015/03/improving-v8s-performance-using.html http://www.hashseed.net/2015/03/improving-v8s-performance-us...
- azinman2 12y agoOmg so does that mean plv8 (v8 inside Postgres) isn't caching the jit'd js functions that might be executed thousands of times a day??????!
- hashseed 12y agoNot sure. If it spins up a new V8 instance every time, then no. But I don't think that happens. It probably keeps a V8 instance around, so in-memory code caching should already work. Edit: looking at the plv8 code, it doesn't seem to create a new Isolate for every request. So I think for the same instance of PostgreSQL the in-memory cache should also hit.