Skip to content

Commit

Permalink
chore: update benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Apr 25, 2024
1 parent 13f1470 commit b4c40bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import cliProgress from 'cli-progress'
import * as fs from 'fs'
import SimpleMarkdown from 'simple-markdown'
import MarkdownIt from 'markdown-it'
import { compiler } from './dist/index.module.js'
import { createMarkdown } from './dist/index.module.js'

const mdIt = new MarkdownIt()
const suite = new BenchTable()
Expand All @@ -18,6 +18,8 @@ const bar = new cliProgress.SingleBar(
)
let totalCycles

const { compiler } = createMarkdown()

// add tests
suite
.addFunction('markdown-to-jsx', input => compiler(input))
Expand Down

0 comments on commit b4c40bf

Please sign in to comment.