Skip to content

Commit 41d1c99

Browse files
authoredOct 4, 2020
Fix PNG stream method name in benchmark (fixes #1672)
* fixes #1672, updated `createSyncPNGStream` to `createPNGStream` * fix #1672 reflected in changelog
1 parent 595d559 commit 41d1c99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1212
* Added support for `inverse()` and `invertSelf()` to `DOMMatrix` (#1648)
1313
### Fixed
1414
* Fix Pango logging "expect ugly output" on Windows (#1643)
15+
* Fix benchmark for createPNGStream (#1672)
1516

1617
2.7.0
1718
==================

‎benchmarks/run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ bm('getImageData(0,0,100,100)', function () {
157157
})
158158

159159
bm('PNGStream 200x200', function (done) {
160-
var stream = canvas.createSyncPNGStream()
160+
var stream = canvas.createPNGStream()
161161
stream.on('data', function (chunk) {
162162
// whatever
163163
})

0 commit comments

Comments
 (0)
Please sign in to comment.