littledivy / autopilot-deno

:rocket: Cross-platform desktop automation module for Deno.
https://autopilot.mod.land
MIT License
492 stars 15 forks source link

Benchmarks should be fair #23

Closed littledivy closed 4 years ago

littledivy commented 4 years ago

So currently we have a cute benchmarking system. Simply, run the method and calculate the time taken.

The problem: Some methods like alert are only completed when the user clicks Ok...which is expected in real life scenario but that disrupts the benchmarks by many milliseconds/secs!

We need to come up with another op that mocks the alert methods the closest way possible.

littledivy commented 4 years ago

Switching to async ops #25

littledivy commented 4 years ago

No longer holds significance.