Skip to content

Commit

Permalink
норникель + копия бенчмарка регулярок
Browse files Browse the repository at this point in the history
  • Loading branch information
iMissile committed Feb 6, 2018
1 parent 3c59de0 commit 66693fd
Show file tree
Hide file tree
Showing 10 changed files with 14,227 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions 89 nornik/data/pass.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Worksheet [2] password: [TFRCPYNPZEQDZYQ] (no brackets)
Worksheet [3] password: [TFRCPYNPZEQDZYQ] (no brackets)
Worksheet [4] password: (removed)
Worksheet [5] password: (removed)
Worksheet [7] password: (removed)
Worksheet [8] password: (removed)
VBA Project password: [Q16R96] (no brackets)
2 changes: 2 additions & 0 deletions 90 regex-perf/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/*.pdf
/*.html
9 changes: 9 additions & 0 deletions 90 regex-perf/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
html: regex-performance.html

pdf: regex-performance.pdf

regex-performance.html: regex-performance.Rmd
`R RHOME`/bin/Rscript -e 'rmarkdown::render("regex-performance.Rmd","html_document")'

regex-performance.pdf: regex-performance.Rmd
`R RHOME`/bin/Rscript -e 'rmarkdown::render("regex-performance.Rmd","pdf_document")'
9 changes: 9 additions & 0 deletions 90 regex-perf/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# A Regular Expression Benchmark for R

[source](https://github.com/jonclayden/regex-performance)

The main constituent of this repository is an R Markdown document, `regex-performance.Rmd`, which when rendered will run the benchmark and plot the results. The document explains its methodology and describes the output. The rendered document will look like [this example](http://rpubs.com/jonclayden/regex-performance).

To run the benchmark you can either load `regex-performance.Rmd` into [RStudio](http://www.rstudio.com/products/RStudio/) and click on "Knit HTML", or run `make` from a (Unix) command line. You'll need the `rmarkdown` package installed in the latter case. You can also manually render the document using `rmarkdown::render("regex-performance.Rmd")`.

Contributions to the document are welcome, as are contributions of output from different systems. Please create a pull request for either of these. Results should be created with a suitably descriptive filename within the `results` subdirectory.
Loading

0 comments on commit 66693fd

Please sign in to comment.