# Compare Side-Runners ## Results It's not accurate comparision in any case. Just a show case. Notice that siderunner doesn't produces any logs as it's not a binary it's a binary. Others spend some time one it plus parsing parameters which library as we doesn't do. | Runner | time | | :--------: | :--------: | | selenium-side-runner | 0m11.730s | | selenese-runner-java | 0m7.194s | | **siderunner** | **0m5.567s** | ## selenium-side-runner ```bash, [mzhiburt@fedora pantheon]$ time sudo selenium-side-runner -c "browserName=firefox" -s http://127.0.0.1:4444 examples/wiki.side info: Running examples/wiki.side PASS ./DefaultSuite.test.js (9.392s) Default Suite ✓ open main page (5567ms) Test Suites: 1 passed, 1 total Tests: 1 passed, 1 total Snapshots: 0 total Time: 10.261s, estimated 11s Ran all test suites. real 0m11.730s user 0m3.046s sys 0m0.304s ``` ## selenese-runner-java ```bash= [mzhiburt@fedora Downloads]$ time java -jar selenese-runner.jar ~/projects/pantheon/examples/wiki.side [2021-07-15 16:04:17.124 +03:00] [INFO] Start: Selenese Runner 3.33.0 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/mzhiburt/Downloads/selenese-runner.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [2021-07-15 16:04:17.483 +03:00] [INFO] No capabilities. 1626354257792 geckodriver INFO Listening on 127.0.0.1:14685 1626354257999 mozrunner::runner INFO Running command: "/usr/bin/firefox" "--marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilevVHI7c" 1626354258546 Marionette INFO Marionette enabled console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofilevVHI7c/search.json.mozlz4", (void 0))) 1626354260738 Marionette INFO Listening on port 38509 1626354260837 Marionette WARN TLS certificate errors will be ignored for this session [2021-07-15 16:04:20.903 +03:00] [INFO] Detected dialect: W3C [2021-07-15 16:04:20.920 +03:00] [INFO] Initial window size: system default [2021-07-15 16:04:20.920 +03:00] [INFO] Initialized: FirefoxDriver [2021-07-15 16:04:20.975 +03:00] [INFO] Timeout: 30000 ms [2021-07-15 16:04:20.975 +03:00] [INFO] Max retries: 0 [2021-07-15 16:04:21.403 +03:00] [INFO] Start: TestProject[Wiki] (/home/mzhiburt/projects/pantheon/examples/wiki.side) [2021-07-15 16:04:21.423 +03:00] [INFO] Existing driver found: FirefoxDriver [2021-07-15 16:04:21.435 +03:00] [INFO] Current speed: 0 ms/command [2021-07-15 16:04:21.435 +03:00] [INFO] Start: TestSuite[Default Suite] (/home/mzhiburt/projects/pantheon/examples/wiki.side) [2021-07-15 16:04:21.454 +03:00] [INFO] Existing driver found: FirefoxDriver [2021-07-15 16:04:21.462 +03:00] [INFO] Current speed: 0 ms/command [2021-07-15 16:04:21.462 +03:00] [INFO] Start: TestCase[open main page] (/home/mzhiburt/projects/pantheon/examples/wiki.side) [2021-07-15 16:04:21.463 +03:00] [INFO] baseURL: https://www.wikipedia.org [2021-07-15 16:04:21.478 +03:00] [INFO] <1> Command#1: open("https://www.wikipedia.org/") JavaScript error: https://start.fedoraproject.org/, line 292: TypeError: $(...).uls is not a function [2021-07-15 16:04:22.981 +03:00] [INFO] - [Success] URL: [https://www.wikipedia.org/] / Title: [Wikipedia] [2021-07-15 16:04:22.982 +03:00] [INFO] - Cookie: GeoIP=[BY:BR:Brest:52.09:23.68:v4] (domain=.wikipedia.org, path=/, expire=*) [2021-07-15 16:04:22.982 +03:00] [INFO] - Cookie: WMF-Last-Access=[15-Jul-2021] (domain=www.wikipedia.org, path=/, expire=2021-08-16 15:00:00 +03:00) [2021-07-15 16:04:22.982 +03:00] [INFO] - Cookie: WMF-Last-Access-Global=[15-Jul-2021] (domain=.wikipedia.org, path=/, expire=2021-08-16 15:00:00 +03:00) [2021-07-15 16:04:22.983 +03:00] [INFO] <2> Command#2: storeText("css=.localized-slogan", "slogan") [2021-07-15 16:04:23.048 +03:00] [INFO] - [The Free Encyclopedia] [2021-07-15 16:04:23.051 +03:00] [INFO] End(1.587sec): TestCase[open main page] (/home/mzhiburt/projects/pantheon/examples/wiki.side) [2021-07-15 16:04:23.052 +03:00] [INFO] End(0.000sec): TestSuite[Default Suite] (/home/mzhiburt/projects/pantheon/examples/wiki.side) [2021-07-15 16:04:23.053 +03:00] [INFO] End(0.000sec): TestProject[Wiki] (/home/mzhiburt/projects/pantheon/examples/wiki.side) 1626354263057 Marionette INFO Stopped listening on port 38509 [2021-07-15 16:04:23.749 +03:00] [INFO] Quit: FirefoxDriver [2021-07-15 16:04:23.750 +03:00] [INFO] Exit code: 0 (SUCCESS) real 0m7.194s user 0m9.351s sys 0m1.291s ``` ## siderunner ```bash [mzhiburt@fedora pantheon]$ time cargo run --example wiki Finished dev [unoptimized + debuginfo] target(s) in 0.08s Running `target/debug/examples/wiki` real 0m5.567s user 0m0.225s sys 0m0.057s ```