Benchmarking CPU's in Command Modern Operations

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

DuploMinh
Posts: 5
Joined: Fri Feb 15, 2019 5:01 am

Re: Benchmarking CPU's in Command Modern Operations

Post by DuploMinh »

Screenshot 2026-05-02 002858.png
Screenshot 2026-05-02 002858.png (26.79 KiB) Viewed 1724 times
Knightpawn
Posts: 662
Joined: Mon Dec 02, 2024 12:28 pm

Re: Benchmarking CPU's in Command Modern Operations

Post by Knightpawn »

built 1859
Screenshot 2026-05-01 233604.png
Screenshot 2026-05-01 233604.png (110.85 KiB) Viewed 1707 times
Nikel
Posts: 3257
Joined: Tue Mar 24, 2009 10:51 am

Re: Benchmarking CPU's in Command Modern Operations

Post by Nikel »

A bit faster. But I want to recover the below 1000 ms :)


B B1868.png
B B1868.png (17.86 KiB) Viewed 1605 times
B B1868 G.png
B B1868 G.png (33.32 KiB) Viewed 1605 times
Nikel
Posts: 3257
Joined: Tue Mar 24, 2009 10:51 am

Re: Benchmarking CPU's in Command Modern Operations

Post by Nikel »

Once more, a bit faster here.


Benchmark B1876.png
Benchmark B1876.png (17.92 KiB) Viewed 1322 times

Benchmark B1876 G.png
Benchmark B1876 G.png (36.02 KiB) Viewed 1322 times
Knightpawn
Posts: 662
Joined: Mon Dec 02, 2024 12:28 pm

Re: Benchmarking CPU's in Command Modern Operations

Post by Knightpawn »

B1877
Screenshot 2026-06-06 201327.png
Screenshot 2026-06-06 201327.png (125.96 KiB) Viewed 1244 times
Nikel
Posts: 3257
Joined: Tue Mar 24, 2009 10:51 am

Re: Benchmarking CPU's in Command Modern Operations

Post by Nikel »

Unfortunately the last build is very slow here. And this is the faster of 2, the second was 3224 ms.

I have also noticed a high CPU use, that does not translate into a faster simulation, at least in the benchmark scenario.

Confirmation?

Benchmark B1892.png
Benchmark B1892.png (18.16 KiB) Viewed 1036 times

Benchmark B1892 G.png
Benchmark B1892 G.png (37.3 KiB) Viewed 1034 times
Knightpawn
Posts: 662
Joined: Mon Dec 02, 2024 12:28 pm

Re: Benchmarking CPU's in Command Modern Operations

Post by Knightpawn »

Nikel wrote: Fri Jun 26, 2026 5:01 pm Unfortunately the last build is very slow here. And this is the faster of 2, the second was 3224 ms.
the horror!
Nikel
Posts: 3257
Joined: Tue Mar 24, 2009 10:51 am

Re: Benchmarking CPU's in Command Modern Operations

Post by Nikel »

Knightpawn wrote: Fri Jun 26, 2026 6:40 pm
the horror!

Confirmation or condemnation :)
Knightpawn
Posts: 662
Joined: Mon Dec 02, 2024 12:28 pm

Re: Benchmarking CPU's in Command Modern Operations

Post by Knightpawn »

Very slow indeed compared to previous built
Screenshot 2026-06-26 230343.png
Screenshot 2026-06-26 230343.png (116.22 KiB) Viewed 994 times
Nikel
Posts: 3257
Joined: Tue Mar 24, 2009 10:51 am

Re: Benchmarking CPU's in Command Modern Operations

Post by Nikel »

Run the benchmark with B1877 and B1892 to compare the CPU use in the resource monitor and this is the result.

As you see the CPU use has increased significantly, is visible in the graphic and in the average CPU %. In the graphic the periods of 100% use are much more common, also the drops to 0%. The average changes along the benchmark, but it is noticeable the difference between the 2 builds, in B1892 was up to 80%.

However the result of the benchmark is worse, why?


RM1877.png
RM1877.png (18.51 KiB) Viewed 951 times
RM1892.png
RM1892.png (19.25 KiB) Viewed 951 times


Exceptions, none in B1877 running the benchmark. Several in B1892, as commented in the Top Gun scenario thread.


27-06-2026 16:40:02 -- Bv1.10 Beta - Build 1892 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at lO5kXM1sbE6ISsOGxXRB.Cvw11DVDImG(Object , lO5kXM1sbE6ISsOGxXRB )
at Command_Core.ActiveUnit_AI.get_ConsidersToBeUnderAttack(Boolean IgnoreThreatIfNoSensor)
Call Stack & Error details:
Error at 100774:

27-06-2026 16:40:03 -- Bv1.10 Beta - Build 1892 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at lO5kXM1sbE6ISsOGxXRB.Cvw11DVDImG(Object , lO5kXM1sbE6ISsOGxXRB )
at Command_Core.ActiveUnit_AI.get_ConsidersToBeUnderAttack(Boolean IgnoreThreatIfNoSensor)
Call Stack & Error details:
Error at 100774:

27-06-2026 16:40:03 -- Bv1.10 Beta - Build 1892 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at lO5kXM1sbE6ISsOGxXRB.Cvw11DVDImG(Object , lO5kXM1sbE6ISsOGxXRB )
at Command_Core.ActiveUnit_AI.get_ConsidersToBeUnderAttack(Boolean IgnoreThreatIfNoSensor)
Call Stack & Error details:
Error at 100774:

27-06-2026 16:40:04 -- Bv1.10 Beta - Build 1892 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at lO5kXM1sbE6ISsOGxXRB.Cvw11DVDImG(Object , lO5kXM1sbE6ISsOGxXRB )
at Command_Core.ActiveUnit_AI.get_ConsidersToBeUnderAttack(Boolean IgnoreThreatIfNoSensor)
Call Stack & Error details:
Error at 100774:

27-06-2026 16:40:04 -- Bv1.10 Beta - Build 1892 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at lO5kXM1sbE6ISsOGxXRB.Cvw11DVDImG(Object , lO5kXM1sbE6ISsOGxXRB )
at Command_Core.ActiveUnit_AI.get_ConsidersToBeUnderAttack(Boolean IgnoreThreatIfNoSensor)
Call Stack & Error details:
Error at 100774:


27-06-2026 16:41:59 -- Bv1.10 Beta - Build 1892 -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at PrsEHVQ2XMeV5OovtjBy.Cvw11DVDImG(Array , Int32 , Array , Int32 , Int32 , PrsEHVQ2XMeV5OovtjBy )
at Collections.Pooled.PooledList`1.System.Collections.Generic.ICollection<T>.CopyTo(T[] array, Int32 arrayIndex)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Command_Core.ActiveUnit_DockingOps.PickNewAssignedHost_RandomWithinRange(ActiveUnit excludeUnit)
Call Stack & Error details:
Error at 100155:

27-06-2026 16:42:06 -- Bv1.10 Beta - Build 1892 -- Collection was modified during enumeration. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified during enumeration.
Stack Trace: at Collections.Pooled.ThrowHelper.ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()
at Collections.Pooled.PooledList`1.Enumerator.EelWk5enful()
at Collections.Pooled.PooledList`1.Enumerator.MoveNext()
at Command_Core.Side.DropContact(Contact theC, Scenario& theScen, Boolean LogMessage)
at Command_Core.Side.HandleUnitGoingInoperative(ActiveUnit theUnit)
Call Stack & Error details:
Error at 101063:
SerLar
Posts: 7
Joined: Sun Aug 31, 2025 4:25 am

Re: Benchmarking CPU's in Command Modern Operations

Post by SerLar »

For the standard version running on a 9800X3D:
Screenshot 2026-06-28 013627.png
Screenshot 2026-06-28 013627.png (31.01 KiB) Viewed 917 times
Last edited by SerLar on Mon Jun 29, 2026 12:35 am, edited 2 times in total.
Nikel
Posts: 3257
Joined: Tue Mar 24, 2009 10:51 am

Re: Benchmarking CPU's in Command Modern Operations

Post by Nikel »

SerLar wrote: Sat Jun 27, 2026 5:42 pm For the standard version running on a 9800X3D:

May you test the last B1892?

But backup first your current Command.exe.
Post Reply

Return to “Command: Modern Operations series”