This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const Benchmark = require('benchmark'); | |
const suite = new Benchmark.Suite; | |
const PNG = require('pngjs').PNG, | |
matchAfter = require('./'), | |
matchBefore = require('./index.1.js'); | |
const img1 = readImage(process.argv[2]); | |
const img2 = readImage(process.argv[3]); |