Repository navigation
Add C and C++ syntax highlighting - #231
Conversation
Benchmark ResultsComparison of Open to see the benchmark results
Generated by phpbench against commit fc017f2 |
brendt
left a comment
There was a problem hiding this comment.
Can you add pattern tests please? Look at any other language pattern to see how they work.
|
Added Verified locally before pushing: |
7329251 to
b55abb6
Compare
|
Rebased onto current Verified locally after the rebase: |
b55abb6 to
fc017f2
Compare
|
Thanks! |
Summary
cfor C andcpp/c++for C++src/Languages/CLike/This is a clean resubmission of the closed #223, based directly on
mainand independent of the other language PRs: no core changes and no visual test harness.Verification
vendor/bin/php-cs-fixer fix --allow-risky=yes— no remaining changesvendor/bin/phpstan analyse src tests— no errorsvendor/bin/phpunit— 884 tests, 1,159 assertionsvendor/bin/phpbench run tests/Bench/HighlighterBench.php --variant='^(c|cpp)$' --report=aggregate— C 123.62 μs, C++ 189.38 μsScreenshot