-
Yuzhu Shen authored
These tests do async/sync ping-pongs between two processes for legacy IPC/Mojo. They do it in a somewhat fixed-rate manner: split one second into a fixed amount of "frames", and do a fixed amount of ping-pongs for each frame. Current numbers: Linux; release component build; Z620 Test name description: * Async / Sync: Whether ping-pong is done using async messages or sync messages. * MsgSize: Size of each message, in bytes. * FrmPerSec: Frames per second. * MsgPerFrm: How many messages sent and received (i.e., round trips) per frame. Test result: The percentage of a CPU core used during the test, on average. (It could be the sum of cost on multiple cores.) [ RUN ] ChannelSteadyPingPongTest.AsyncPingPong IPC_CPU_Async_MsgSize_144_FrmPerSec_20_MsgPerFrm_10 5.68031 % IPC_CPU_Async_MsgSize_144_FrmPerSec_60_MsgPerFrm_10 15.7017 % [ RUN ] ChannelSteadyPingPongTest.SyncPingPong IPC_CPU_Sync_MsgSize_144_FrmPerSec_20_MsgPerFrm_10 5.68387 % IPC_CPU_...
4d50dc4c