Use Persistent wrapper to prevent GC of input Buffer #152

Avoids memcpy of input and output Buffer objects

Improves Buffer and Stream performance by ~3%
This commit is contained in:
Lovell Fuller
2015-11-14 11:24:15 +00:00
parent 20f468991f
commit ede2ee9ce3
5 changed files with 55 additions and 59 deletions

View File

@@ -8,12 +8,12 @@
"test": "node perf && node random && node parallel"
},
"devDependencies": {
"async": "^1.4.2",
"async": "^1.5.0",
"benchmark": "^1.0.0",
"gm": "^1.20.0",
"gm": "^1.21.0",
"imagemagick": "^0.1.3",
"imagemagick-native": "^1.8.0",
"jimp": "^0.2.8",
"jimp": "^0.2.19",
"lwip": "^0.0.8",
"semver": "^5.0.3"
},