Skip to content

Commit 71fb1df

Browse files
author
Evan Jacobs
committed
adjust benchmark
1 parent 333ca4d commit 71fb1df

File tree

3 files changed

+197
-337
lines changed

3 files changed

+197
-337
lines changed

benchmark.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import BenchTable from 'benchtable'
22
import cliProgress from 'cli-progress'
33
import * as fs from 'fs'
4-
import ReactMarkdown from 'react-markdown'
54
import SimpleMarkdown from 'simple-markdown'
65
import MarkdownIt from 'markdown-it'
76
import { compiler } from './dist'
@@ -22,7 +21,6 @@ let totalCycles
2221
// add tests
2322
suite
2423
.addFunction('markdown-to-jsx', input => compiler(input))
25-
.addFunction('react-markdown', input => new ReactMarkdown({ source: input }))
2624
.addFunction('simple-markdown', input =>
2725
SimpleMarkdown.defaultReactOutput(SimpleMarkdown.defaultBlockParse(input))
2826
)

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,15 @@
4848
"in-publish": "^2.0.0",
4949
"jest": "^27.5.1",
5050
"jest-serializer-html": "^7.0.0",
51-
"markdown-it": "^11.0.0",
52-
"microbundle": "^0.13.0",
51+
"markdown-it": "^12.3.2",
52+
"microbundle": "^0.14.2",
5353
"microtime": "^3.0.0",
5454
"mkdirp": "^1.0.4",
5555
"polished": "^3.0.3",
56-
"preact": "^10.5.9",
56+
"preact": "^10.6.6",
5757
"prettier": "^2.5.1",
5858
"react": "^16.13.1",
5959
"react-dom": "^16.13.1",
60-
"react-markdown": "^4.0.3",
6160
"rimraf": "^3.0.2",
6261
"simple-markdown": "^0.7.2",
6362
"size-limit": "^7.0.8",

0 commit comments

Comments
 (0)