New-WinEvent performance considerably slower than Write-EventLog - by Naadir Jeewa at Home

Status : 

 


1
0
Sign in
to vote
ID 799995 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 9/9/2013 3:23:11 AM
Access Restriction Public

Description

Running sample code at https://github.com/randomvariable/logstash-windows-eventlog/blob/master/logstash/test/Test-EventLogFast.ps1 results in around 1500-1900 events generated per second.

Replacing the use of the legacy Event Logging with New-WinEvent leads to events being generated no faster than 20 per second.

Test done on a circa 2011 Core i5.

Sign in to post a comment.