File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
reference/docs-conceptual/dev-cross-plat/performance Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ title: Optimize performance using parallel execution
77
88PowerShell provides several options for the creation of parallel invocations.
99
10- - ` Start-Job ` runs each job runs in a separate process, each with a new instance of PowerShell. In
11- many cases, a linear loop is faster. Also, serialization and deserialization can limit the
12- usefulness of the objects returned. This command is built in to all versions of PowerShell.
10+ - ` Start-Job ` runs each job in a separate process, each with a new instance of PowerShell. In many
11+ cases, a linear loop is faster. Also, serialization and deserialization can limit the usefulness
12+ of the objects returned. This command is built in to all versions of PowerShell.
1313- ` Start-ThreadJob ` is a cmdlet found in the ** ThreadJob** module. This command uses PowerShell
1414 runspaces to create and manage thread-based jobs. These jobs are lighter-weight than the jobs
1515 created by ` Start-Job ` and avoid potential loss of type fidelity required by cross-process
@@ -61,7 +61,7 @@ approaches:
6161 > [ !NOTE]
6262 > This approach only makes sense if your parallel tasks only consist of a single call to an
6363 > external program, as opposed to running a block of PowerShell code. Also, the only way to
64- > capture output with is by redirecting to a file.
64+ > capture output with this approach is by redirecting to a file.
6565
6666``` powershell
6767function Measure-Parallel {
You can’t perform that action at this time.
0 commit comments