Skip to content

Releases: Marusyk/grok.net

Release v2.0.0

01 Sep 15:43
dc2c26f
Compare
Choose a tag to compare

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
image

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

28 Aug 21:09
d36b3c7
Compare
Choose a tag to compare

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

Full Changelog: v1.1.0...v1.2.0

Release v1.1.0

02 Jan 01:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

First release

13 Jul 11:55
Compare
Choose a tag to compare
v1.0.1

Change namespace