Skip to content

Commit

Permalink
chore: Use form for issues (#2595)
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane authored Oct 31, 2021
1 parent 1a659d3 commit a278eff
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 75 deletions.
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bug Report
about: Use this when swc breaks something
title: ""
labels: C-bug
assignees: ""
body:
- type: textarea
id: description
attributes:
label: Describe the bug
description: |
If swc crashed or panicked, you can gain error message by running `swc --sync <input.js>`.
Also, you can get backtrace by invoking swc by setting an environment varaible `SWC_DEBUG` to `1`.
validations:
required: true
- type: textarea
id: code
attributes:
label: Input code
render: typescript
- type: textarea
id: config
attributes:
label: Config
description: Paste your `.swcrc` file here.
render: json
- type: input
id: repro-link
attributes:
label: Playground link
description: You can use [swc playground](https://swc-play.vercel.app/) to create a reproduction link, then paste the link here.
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expect to happen.
validations:
required: true
- type: input
id: version
attributes:
label: Version
validations:
required: true
- type: textarea
id: addition
attributes:
label: Additional context
placeholder: Add any other context about the problem here.
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/crash_report.md

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature Request
about: Use this when you want a new feature
title: ""
labels: ""
assignees: ""
body:
- type: textarea
id: description
attributes:
label: Describe the feature
validations:
required: true
- type: input
id: link
attributes:
label: Babel plugin or link to the feature description
- type: textarea
id: addition
attributes:
label: Additional context
placeholder: Add any other context about this feature here.

1 comment on commit a278eff

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: a278eff Previous: 1a659d3 Ratio
base_tr_fixer 23452 ns/iter (± 280) 34537 ns/iter (± 7273) 0.68
base_tr_resolver_and_hygiene 130013 ns/iter (± 27049) 173675 ns/iter (± 40488) 0.75
codegen_es2015 51579 ns/iter (± 426) 59606 ns/iter (± 9234) 0.87
codegen_es2016 51698 ns/iter (± 360) 61267 ns/iter (± 11022) 0.84
codegen_es2017 51663 ns/iter (± 439) 64072 ns/iter (± 14164) 0.81
codegen_es2018 51686 ns/iter (± 383) 61275 ns/iter (± 14378) 0.84
codegen_es2019 51654 ns/iter (± 378) 62139 ns/iter (± 17888) 0.83
codegen_es2020 51794 ns/iter (± 333) 61377 ns/iter (± 15103) 0.84
codegen_es3 51738 ns/iter (± 299) 61456 ns/iter (± 12312) 0.84
codegen_es5 51633 ns/iter (± 328) 59672 ns/iter (± 10625) 0.87
config_for_file 12885 ns/iter (± 5716) 18876 ns/iter (± 6097) 0.68
full_es2015 180843328 ns/iter (± 129504551) 212082519 ns/iter (± 26919970) 0.85
full_es2016 142804443 ns/iter (± 7654962) 162960886 ns/iter (± 19832185) 0.88
full_es2017 150078188 ns/iter (± 12694440) 178742549 ns/iter (± 29279137) 0.84
full_es2018 148825150 ns/iter (± 126355625) 171586326 ns/iter (± 20877437) 0.87
full_es2019 146800318 ns/iter (± 8807193) 172283202 ns/iter (± 22097111) 0.85
full_es2020 146664406 ns/iter (± 8701817) 167734531 ns/iter (± 20735400) 0.87
full_es3 212891734 ns/iter (± 21806764) 252060962 ns/iter (± 31812258) 0.84
full_es5 201443184 ns/iter (± 17179648) 236959942 ns/iter (± 39425813) 0.85
parser 654828 ns/iter (± 18956) 758071 ns/iter (± 182660) 0.86
transforms_es2015 1009105 ns/iter (± 56488) 1315927 ns/iter (± 334842) 0.77
transforms_es2016 601355 ns/iter (± 1094075) 772224 ns/iter (± 109770) 0.78
transforms_es2017 574145 ns/iter (± 28972) 786582 ns/iter (± 193852) 0.73
transforms_es2018 567237 ns/iter (± 15913) 788267 ns/iter (± 168689) 0.72
transforms_es2019 552077 ns/iter (± 50983) 723200 ns/iter (± 116807) 0.76
transforms_es2020 542887 ns/iter (± 60358) 729035 ns/iter (± 106791) 0.74
transforms_es3 1118514 ns/iter (± 75813) 1401647 ns/iter (± 378206) 0.80
transforms_es5 979503 ns/iter (± 21923) 1237337 ns/iter (± 156734) 0.79
ser_ast_node 149 ns/iter (± 10) 175 ns/iter (± 36) 0.85
ser_serde 159 ns/iter (± 5) 190 ns/iter (± 35) 0.84
emit_colors 14563755 ns/iter (± 19249604) 18027345 ns/iter (± 24553138) 0.81
emit_large 97472289 ns/iter (± 150269030) 92559284 ns/iter (± 145198948) 1.05
base_clone 2250509 ns/iter (± 19358) 2673334 ns/iter (± 419713) 0.84
fold_span 3770799 ns/iter (± 114587) 4575493 ns/iter (± 821442) 0.82
fold_span_panic 3997102 ns/iter (± 69217) 5023868 ns/iter (± 1127272) 0.80
visit_mut_span 2754546 ns/iter (± 29850) 3376021 ns/iter (± 516393) 0.82
visit_mut_span_panic 2798647 ns/iter (± 18829) 3299423 ns/iter (± 634286) 0.85
boxing_boxed 147 ns/iter (± 1) 169 ns/iter (± 33) 0.87
boxing_boxed_clone 68 ns/iter (± 0) 73 ns/iter (± 12) 0.93
boxing_unboxed 134 ns/iter (± 0) 151 ns/iter (± 44) 0.89
boxing_unboxed_clone 63 ns/iter (± 0) 71 ns/iter (± 13) 0.89

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.