Releases: Marusyk/grok.net
Release v2.0.0
What's Changed
The Regex class in the .NET uses the .NET regular expression engine. This engine is a good general-purpose engine, but it is not the fastest. If we need the best possible performance, you can use a faster regular expression engine, such as the PCRE library.
The PCRE library is a faster regular expression engine that is available for free.
Since v2.0.0 Grok.Net uses the PCRE.NET package. PCRE.NET is a .NET wrapper for the PCRE2 library. So the following systems are supported:
Windows x64
Windows x86
Linux x64
macOS x64
Benchmarks
methods without "_Old" use the PCRE library
Methods with "_Old" in the name (Average):
Mean Execution Time (Average): 3,741,186.0 ns (approximately 3.7 milliseconds)
Allocated Memory (Average): 231,999.0 B (approximately 226.17 KB)
PCRE Methods without "_Old" in the name (Average):
Mean Execution Time (Average): 290,362.5 ns (approximately 0.2903625 milliseconds)
Allocated Memory (Average): 40,890.43 B (approximately 39.871 KB)
Conclusion
As we can see, methods without "_Old" in their names have significantly lower mean execution times and allocated memory compared to methods with "_Old" in their names. This suggests that the methods without "_Old" may perform better in terms of execution time and memory allocation.
Full Changelog: v1.2.0...v2.0.0
Release v1.2.0
What's Changed
- Fix build failing in Linux by @eddami in #48
- Add CI/CD for PowerShell module by @eddami in #49
- Add unit tests for PowerShell module by @eddami in #50
- Add unit tests for PowerShell module by @eddami in #51
- Changed custom pattern handling to not silently ignore errors and other minor improvements by @sandreas in #53
- Added unit test to verify ArgumentNullException on Parse call. by @dinkrr in #56
- Update workflow w/ EditorConfig-Action by @FarzamMohammadi in #57
- Enable package validation by @ahmadtantowi in #62
- Upgraded to net7 and updated all packages dependencies to latest version by @nik-base in #70
- Added pattern for base64 string by @nik-base in #69
- Support net7.0. Small performance optimizations. Refactoring by @Marusyk in #73
- Get Dictionary instead of GrokResult with AsDictionary method (#72) by @GioMaz in #75
- Add control over regex options by @ricsiLT in #74
New Contributors
- @sandreas made their first contribution in #53
- @dinkrr made their first contribution in #56
- @FarzamMohammadi made their first contribution in #57
- @ahmadtantowi made their first contribution in #62
- @nik-base made their first contribution in #70
- @ricsiLT made their first contribution in #74
Full Changelog: v1.1.0...v1.2.0
Release v1.1.0
What's Changed
- Add cake build script (#2) by @euronay in #4
- Created basic xUnit tests by @Justin-Lloyd in #6
- IPv4 Pattern test by @Justin-Lloyd in #8
- IPv6 tests by @Justin-Lloyd in #9
- Hostname tests by @Justin-Lloyd in #10
- Implement Run-Unit-Tests task by @iBlackShadow in #11
- Mac Address Pattern Test by @Justin-Lloyd in #12
- Add support for loading custom patterns by @shikharmittal in #17
- Update README.md by @ManasviGoyal in #20
- Benchmark by @halilkocaoz in #21
- #18 custom pattern validation by @GioMaz in #23
- Added action for creating release by @Nikhil-1503 in #37
- Revert "Added action for creating release" by @Marusyk in #38
- Generate code coverage badge by @Adityanr in #39
- Follow up for issue github coverage badge creation by @Adityanr in #40
- Added unit test coverage by @marce1994 in #42
- Fix Issue : #32 by @Demigodplayz in #44
- Add PowerShell module [WIP] by @moeddami in #46
New Contributors
- @euronay made their first contribution in #4
- @Justin-Lloyd made their first contribution in #6
- @iBlackShadow made their first contribution in #11
- @shikharmittal made their first contribution in #17
- @ManasviGoyal made their first contribution in #20
- @halilkocaoz made their first contribution in #21
- @GioMaz made their first contribution in #23
- @Nikhil-1503 made their first contribution in #37
- @Marusyk made their first contribution in #38
- @Adityanr made their first contribution in #39
- @marce1994 made their first contribution in #42
- @Demigodplayz made their first contribution in #44
- @moeddami made their first contribution in #46
Full Changelog: v1.0.1...v1.1.0
First release
v1.0.1 Change namespace