Skip to content

Commit

Permalink
build: release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tivie committed Apr 21, 2022
1 parent 2be8e2f commit 9958ba5
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 15 deletions.
23 changes: 12 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
<a name="2.0.4"></a>
## [2.0.4](https://github.com/showdownjs/showdown/compare/2.0.3...2.0.4) (2022-04-21)


* test(cli)!: Add test for multiple config options ([914129f](https://github.com/showdownjs/showdown/commit/914129f)), closes [#916](https://github.com/showdownjs/showdown/issues/916)


### Bug Fixes

* **cli:** cli displays the correct version number ([8b48882](https://github.com/showdownjs/showdown/commit/8b48882))

<a name="2.1.0"></a>
## [2.1.0](https://github.com/showdownjs/showdown/compare/2.0.0...2.1.0) (2022-04-21)

### BREAKING CHANGES

Expand All @@ -24,6 +15,16 @@ after:
showdown makehtml -i foo.md -o bar.html -c strikethrough -c emoji
```

<a name="2.0.4"></a>
## [2.0.4](https://github.com/showdownjs/showdown/compare/2.0.3...2.0.4) (2022-04-21)


* test(cli): Add test for multiple config options ([914129f](https://github.com/showdownjs/showdown/commit/914129f)), closes [#916](https://github.com/showdownjs/showdown/issues/916)


### Bug Fixes

* **cli:** cli displays the correct version number ([8b48882](https://github.com/showdownjs/showdown/commit/8b48882))


<a name="2.0.3"></a>
Expand Down
2 changes: 1 addition & 1 deletion dist/showdown.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/showdown.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "showdown",
"version": "2.0.4",
"version": "2.1.0",
"description": "A Markdown to HTML converter written in Javascript",
"author": "Estevão Santos",
"homepage": "http://showdownjs.com/",
Expand Down
2 changes: 1 addition & 1 deletion performance.json

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions performance.log.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,47 @@
# Performance Tests for showdown


## [version 2.1.0](https://github.com/showdownjs/showdown/tree/2.1.0)

### Test Suite: Basic (50 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|Simple "Hello World"|0.157|4.508|0.052|
|performance.testfile.md|17.764|29.882|15.538|

### Test Suite: subParsers (20 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|hashHTMLBlocks|2.627|4.903|1.402|
|anchors|0.324|2.384|0.182|
|autoLinks|0.055|0.179|0.041|
|blockQuotes|1.404|2.848|1.172|
|codeBlocks|0.154|0.700|0.103|
|codeSpans|0.183|0.277|0.157|
|detab|0.043|0.069|0.040|
|encodeAmpsAndAngles|0.079|0.112|0.072|
|encodeBackslashEscapes|0.049|0.082|0.040|
|encodeCode|0.394|0.904|0.342|
|escapeSpecialCharsWithinTagAttributes|0.155|0.430|0.123|
|githubCodeBlocks|0.092|0.155|0.084|
|hashBlock|0.019|0.047|0.015|
|hashElement|0.001|0.019|0.000|
|hashHTMLSpans|2.613|2.921|2.501|
|hashPreCodeTags|0.055|0.164|0.045|
|headers|0.773|1.967|0.640|
|horizontalRule|0.118|0.198|0.102|
|images|0.105|0.167|0.079|
|italicsAndBold|0.174|0.490|0.136|
|lists|1.708|2.064|1.562|
|outdent|0.154|0.191|0.098|
|paragraphs|3.536|5.371|3.043|
|spanGamut|2.512|3.307|2.220|
|strikethrough|0.003|0.045|0.000|
|stripLinkDefinitions|1.237|1.860|1.120|
|tables|0.002|0.024|0.000|
|unescapeSpecialChars|0.009|0.053|0.006|


## [version 2.0.4](https://github.com/showdownjs/showdown/tree/2.0.4)

### Test Suite: Basic (50 cycles)
Expand Down

0 comments on commit 9958ba5

Please sign in to comment.