Christian Holslin

Results 15 comments of Christian Holslin

Thank you both for your responses and suggestions for optimization. I did reply to the Issue cross-posted in the dotnet/runtime project which you can see here https://github.com/dotnet/runtime/issues/101061#issuecomment-2058103434 I ran `[GC]::Collect()`...

I retested the following updated script on my desktop PC. A Ryzen 5800X with 128 GB of RAM and PCIe Gen4 NVMe storage. The test ran much faster as expected,...

I just tested this same implementation using a C# console application for the dotnet/runtime team and the issues does NOT occur when running in a console application against .NET 8...

For reference, the `random.bin` test file I am using is exactly 233,420,544 bytes in length. I generated it with this script: ```powershell param( [int] $Size ) $blockSize = 256 $rand...

> > I'm assuming PowerShell 7.4.2 is using .NET 8.0 under the hood. Does it ship with its own .NET run-time or does it rely on the run-time installed on...

> I would like to remind that earlier we observed slow pwsh operations with files due to antivirus. The slow operation is the call to `[System.Convert]::FromBase64String` which occurs after the...

> In `src/System.Management.Automation/engine/runtime/CompiledScriptBlock.cs`, there is `class SuspiciousContentChecker`, which attempts to detect "suspicious strings" such as `FromBase64String`. That then apparently causes PowerShell to log some ETW event. I wonder if Windows...

Here is a stack trace of the thread with the most CPU time. I used WinDbg and broke process execution in the middle of the FromBase64String operation. You can see...

I ran a test using variable size byte arrays with random payloads starting at 2 MiB in size and going up to 116 MiB in size. You can see that...

Here is the verbatim output of `TSS2_LOG=fapi+debug tss2_provision` ```shell debug:fapi:src/tss2-fapi/ifapi_config.c:203:expand_home() Expanding path ~/.local/share/tpm2-tss/user/keystore to user's home debug:fapi:src/tss2-fapi/ifapi_config.c:290:ifapi_config_initialize_finish() Configuration profile directory: /usr/local/etc/tpm2-tss/fapi-profiles/ debug:fapi:src/tss2-fapi/ifapi_config.c:291:ifapi_config_initialize_finish() Configuration user directory: /home/daltas/.local/share/tpm2-tss/user/keystore debug:fapi:src/tss2-fapi/ifapi_config.c:292:ifapi_config_initialize_finish() Configuration key storage...