Jerry Sievert
Jerry Sievert
we don't provide benchmarks, and performance is going to vary based on what exactly you're trying to accomplish. if you're trying to choose between languages based on speed alone, you...
plv8 is a trusted extension, meaning that it does not have direct access to the network, nor the filesystem. if that's what you're trying to accomplish, it's not going to...
fyi, the only relationship between plv8 and node.js is that they both embed the v8 javascript engine, and both happen to be javascript.
first, you need to understand the differences between _trusted_ and _untrusted_ languages in postgres. _trusted_ languages are sandboxed to not allow any access to the filesystem or network. this is...
ostensibly it should be pretty much the same speed as node - at least on comparable versions of v8 (I've tried to track v8 versions with node where it made...
I'm not the original author, I'm just the maintainer. as for what it's used for, it provides javascript as a language for stored procedures and triggers inside of postgres. it's...
there are so many variables in that test that it'd be hard to point a finger at any specific part of it as the limitation. if you're not pooling a...
and just for fun: ``` CREATE FUNCTION plv8_fibonacci2 (num INTEGER, memo JSON) RETURNS INTEGER AS $$ memo = memo || {}; if (memo[num]) return memo[num]; if (num
the test was accidentally set to do 30 regardless, but the timing is the same fixed: ``` CREATE OR REPLACE FUNCTION plv8_fibonacci (n INTEGER) RETURNS INTEGER AS $$ function fibonacci(num,...
these are in seconds, not milliseconds: ``` ~ time node /tmp/fib.js 1346269 0.09 real 0.06 user 0.01 sys ``` but, that said, there are differences in environment between a...