wardite 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -7
  3. data/Steepfile +1 -0
  4. data/assets/wardite.svg +12 -0
  5. data/benchmark/measure_mir_cache_verify.rb +58 -0
  6. data/benchmark/measure_ruby_wasm_cache_hit.rb +59 -0
  7. data/benchmark/measure_ruby_wasm_startup.rb +43 -0
  8. data/benchmark/results/efflorescence-mir2-cache-integrity.json +390 -0
  9. data/benchmark/results/efflorescence-unboxed-globals.json +3451 -0
  10. data/docs/adr/0007-efflorescence-ruby-wasm-phase1.md +75 -0
  11. data/docs/adr/0008-efflorescence-ruby-wasm-phase2.md +75 -0
  12. data/docs/adr/0009-efflorescence-mir2-cache-integrity-modes.md +77 -0
  13. data/docs/adr/0010-efflorescence-mir2-cache-function-restore.md +80 -0
  14. data/docs/adr/0011-efflorescence-unboxed-globals.md +89 -0
  15. data/docs/adr/0012-efflorescence-startup-snapshot.md +173 -0
  16. data/docs/adr/0013-efflorescence-frame-acquisition.md +114 -0
  17. data/docs/efflorescence-generated-c-guards.md +5 -0
  18. data/docs/efflorescence-mir2-cache.md +123 -0
  19. data/docs/efflorescence-ruby-wasm-phase1.md +90 -0
  20. data/docs/efflorescence-spinel-linear-memory.md +72 -0
  21. data/docs/efflorescence-startup-snapshot.md +60 -0
  22. data/docs/efflorescence-unboxed-globals.md +61 -0
  23. data/lib/wardite/alu_f32.generated.rb +10 -2
  24. data/lib/wardite/alu_f64.generated.rb +10 -2
  25. data/lib/wardite/alu_i32.generated.rb +40 -8
  26. data/lib/wardite/alu_i64.generated.rb +55 -11
  27. data/lib/wardite/cli/cli.rb +56 -6
  28. data/lib/wardite/efflorescence/ir.rb +14 -1
  29. data/lib/wardite/efflorescence/mir_cache.rb +657 -0
  30. data/lib/wardite/efflorescence/register_validation.rb +128 -56
  31. data/lib/wardite/efflorescence/snapshot.rb +229 -0
  32. data/lib/wardite/efflorescence/store_access.rb +103 -8
  33. data/lib/wardite/efflorescence/translator.rb +10 -3
  34. data/lib/wardite/efflorescence/vm.rb +202 -38
  35. data/lib/wardite/efflorescence/wasi.rb +0 -56
  36. data/lib/wardite/efflorescence.rb +6 -0
  37. data/lib/wardite/load.rb +108 -24
  38. data/lib/wardite/version.rb +1 -1
  39. data/lib/wardite/wasi/spinel.rb +41 -0
  40. data/lib/wardite/wasi.rb +483 -268
  41. data/lib/wardite.rb +218 -70
  42. data/scripts/gen_alu.rb +55 -11
  43. data/scripts/verify_ruby_wasm.rb +70 -0
  44. data/sig/generated/wardite/cli/cli.rbs +15 -0
  45. data/sig/generated/wardite/efflorescence/ir.rbs +7 -0
  46. data/sig/generated/wardite/efflorescence/mir_cache.rbs +236 -0
  47. data/sig/generated/wardite/efflorescence/register_validation.rbs +31 -3
  48. data/sig/generated/wardite/efflorescence/snapshot.rbs +83 -0
  49. data/sig/generated/wardite/efflorescence/store_access.rbs +13 -2
  50. data/sig/generated/wardite/efflorescence/translator.rbs +5 -1
  51. data/sig/generated/wardite/efflorescence/vm.rbs +68 -7
  52. data/sig/generated/wardite/efflorescence/wasi.rbs +0 -13
  53. data/sig/generated/wardite/load.rbs +32 -5
  54. data/sig/generated/wardite/wasi/spinel.rbs +15 -0
  55. data/sig/generated/wardite/wasi.rbs +111 -4
  56. data/sig/generated/wardite.rbs +67 -3
  57. data/sig/mir_cache_stdlib.rbs +5 -0
  58. data/spinel/patches/0001-io-buffer-string-view.patch +699 -0
  59. data/spinel/patches/0002-io-buffer-allocation-error.patch +47 -0
  60. metadata +29 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d4da4f11b96b8ba754957752182019d0f5e1b398c857ff53aff1dd832976273
4
- data.tar.gz: 51beb8eca890338b30d724f14625d2f61eaeddf43c541a6a24ba2486207e1d37
3
+ metadata.gz: e8542bfea8c7d257afcc7c5d9fa9f97dc816f18d462eadbee9ea6f2298c8f0f8
4
+ data.tar.gz: 4dd3f1a5661c85295c1c38d07c424bfd5d1e979b6a8fa5d5efeb30a920696c85
5
5
  SHA512:
6
- metadata.gz: 6e43c0e691c242623cc3e4acf622286d151e59793b7afcae6eed08d2291088446459ad91728e6f65b1997ee89f8a42753fc942622aea7f7e8b56f2da6b41b40d
7
- data.tar.gz: 6122649785369333e8f6fc345d2b4717eee2579e56e5df50b76e72fc6dfd20a0bbc9f3332ce06a02c555b21e55e6318d191d2bb10271279045f2f920c62a694d
6
+ metadata.gz: 440f1234f039438fd744c46bbac0fc9280e7324863130dee3930474a20ace221d35c6e6437d2dec2e2d7c8568738d664982c84bcfe76440c12a9021c4cf07f5a
7
+ data.tar.gz: dc114ee14a8412a674e724942a7ad6d8eaaad5af9debeeef2ef9a43dd5ee6322bd5e5ed32a87a75b02801f55081d15e0d6f2c1be262ea25783756234f7e85112
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Wardite
2
2
 
3
- [![workflow](https://github.com/udzura/wardite/actions/workflows/main.yml/badge.svg)](https://github.com/udzura/wardite/actions) [![gem version](https://badge.fury.io/rb/wardite.svg)](https://rubygems.org/gems/wardite)
3
+ <img src="assets/wardite.svg" alt="Wardite logo" width="160">
4
+
5
+ [![Test CRuby and Spinel](https://github.com/udzura/wardite/actions/workflows/runtime-tests.yml/badge.svg)](https://github.com/udzura/wardite/actions/workflows/runtime-tests.yml) [![Test Wardite](https://github.com/udzura/wardite/actions/workflows/spec.yml/badge.svg)](https://github.com/udzura/wardite/actions/workflows/spec.yml) [![gem version](https://badge.fury.io/rb/wardite.svg)](https://rubygems.org/gems/wardite)
4
6
 
5
7
  A pure-ruby webassembly runtime.
6
8
 
@@ -80,6 +82,27 @@ Use `--mir-disable NAME` to compare
80
82
  individual features, `--mir-dump` to inspect MIR and `--mir-profile` for counters.
81
83
  See [Phase 2](docs/efflorescence-phase2.md) ([日本語](docs/efflorescence-phase2-ja.md)).
82
84
 
85
+ On CRuby and Spinel, pass `--mir-cache DIR` with `--new-engine` to reuse lowered
86
+ MIR across processes. Use a local directory you control. Each run still decodes
87
+ the Wasm, links imports, and initializes a fresh instance. `--mir-dump` and
88
+ `--mir-profile` build MIR normally. Ruby callers can pass `mir_cache: dir` with
89
+ `engine: :efflorescence`. CRuby and Spinel use different cache keys.
90
+
91
+ The default `--mir-cache-verify checksum` checks the payload size and samples
92
+ blocks. Use `--mir-cache-verify sha256` or Ruby's `mir_cache_verify: :sha256`
93
+ to check the whole payload. Both modes use the same cache file and check MIR
94
+ structure. Corruption outside the sampled blocks can go undetected in checksum
95
+ mode, including changes that leave the MIR structurally valid.
96
+ [MIR2 cache measurements](docs/efflorescence-mir2-cache.md)
97
+
98
+ For WASI commands, `--snapshot DIR` (with `--new-engine --mir-cache DIR`) saves
99
+ the guest state just before its first WASI call that reads files or writes output,
100
+ and later runs with the same Wasm, arguments, environment, preopens and stdio
101
+ kinds resume from there. Clock values and random bytes read before that point
102
+ are frozen into the snapshot, so every resumed run sees the same values (for Ruby, the same hash
103
+ seed). Do not use it where that matters, such as hashing untrusted keys.
104
+ [ADR 0012](docs/adr/0012-efflorescence-startup-snapshot.md)
105
+
83
106
  [M1](docs/efflorescence-m1.md) adds the remaining basic i32 operations,
84
107
  if/else/select/br_table, and new exception handling (try_table/throw/throw_ref).
85
108
  Tags can carry numeric payloads. Nullable exnref locals and multi-result blocks carry
@@ -130,18 +153,21 @@ return value: I32(300)
130
153
  $ make spinel-test
131
154
  ```
132
155
 
133
- The executable defaults to WASI disabled. This initial integration tests small
134
- Wasm modules with `i32.const`, `i32.add`, internal calls, and `if`/`else`, comparing
135
- the native CLI's results with CRuby. WASI and Vernier profiling are excluded from
136
- the native build. Ruby's dynamic export helpers (`instance.add(...)` and
156
+ The executable enables the shared WASI Preview 1 host by default. Use
157
+ `--no-wasi` to disable it. To boot a Ruby 4.0.9 WASI binary, run
158
+ `build/wardite --new-engine -- "$ruby_wasm" --disable-gems -e 'puts 6*7'`.
159
+ See the [ruby.wasm verification record](docs/efflorescence-ruby-wasm-phase1.md)
160
+ for the build and file-loading commands. Vernier profiling is available in the
161
+ CRuby build. Ruby's dynamic export helpers (`instance.add(...)` and
137
162
  `runtime.add(...)`) rely on `method_missing`; use `instance.runtime.call("add",
138
163
  [100, 200])` when compiling an application with Spinel.
139
164
 
140
165
  The build leaves inline RBS and Spinel's default integer overflow checks enabled.
141
166
  Wasm integer operations bound their intermediate values, so
142
167
  `--int-overflow=promote` is not required.
143
- Tested with Spinel `2026.10.25+1967` (`6e7fc1355`) on macOS
144
- arm64. Override `SPINEL`, `SPINELFLAGS`, `BUILD_DIR`, or `RUBY` when needed.
168
+ The pinned Spinel build applies the IO::Buffer patches under `spinel/patches`.
169
+ See the [build instructions and host memory API](docs/efflorescence-spinel-linear-memory.md).
170
+ Override `SPINEL`, `SPINELFLAGS`, `BUILD_DIR`, or `RUBY` when needed.
145
171
 
146
172
  ## Contributing
147
173
 
data/Steepfile CHANGED
@@ -6,6 +6,7 @@ target :lib do
6
6
  library "pp"
7
7
  library "securerandom"
8
8
  library "optparse"
9
+ library "fileutils"
9
10
  # configure_code_diagnostics(Steep::Diagnostic::Ruby.strict)
10
11
  end
11
12
 
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" role="img" aria-labelledby="title description">
2
+ <title id="title">Wardite icon</title>
3
+ <desc id="description">A white W carved into a faceted teal mineral, with a dark offset shadow.</desc>
4
+ <rect width="1024" height="1024" fill="#f8f5f0"/>
5
+ <path fill="#17141f" d="M418 230h324l136 136v324L742 826H324l-42-110V366Z"/>
6
+ <path fill="#287a78" d="M350 162h324l136 136v324L674 758H256l-42-110V298Z"/>
7
+ <path fill="#65aaa0" d="M350 162h324l-62 110H384l-170 26Z"/>
8
+ <path fill="#398f88" d="m214 298 170-26-70 328-58 158-42-110Z"/>
9
+ <path fill="#1d5b60" d="m674 162 136 136v324L674 758l-42-154 78-260Z"/>
10
+ <path fill="#226b6b" d="m314 600 318 4 42 154H256Z"/>
11
+ <path d="M326 350h66l38 172 60-130h48l34 130 68-172h66L600 602h-60l-34-128-60 128h-60Z" fill="#fff"/>
12
+ </svg>
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Usage: ruby benchmark/measure_mir_cache_verify.rb RUBY_WASM BASELINE_BIN CURRENT_BIN
4
+ require "digest"
5
+ require "json"
6
+ require "open3"
7
+ require "tmpdir"
8
+
9
+ abort "Usage: ruby #{$PROGRAM_NAME} RUBY_WASM BASELINE_BIN CURRENT_BIN" unless ARGV.size == 3
10
+ wasm, baseline, current = ARGV.map { |path| File.expand_path(path) }
11
+ runs = Integer(ENV.fetch("RUNS", "9"))
12
+ warmups = Integer(ENV.fetch("WARMUPS", "2"))
13
+ abort "Invalid run or warmup count" unless runs >= 3 && warmups >= 0
14
+
15
+ guest = ["--disable-gems", "-e", "puts RUBY_VERSION"]
16
+ expected, status = Open3.capture2("wasmtime", "run", wasm, *guest)
17
+ abort "Wasmtime did not run Ruby 4.0.9" unless status.success? && expected == "4.0.9\n"
18
+
19
+ def invoke(command, expected, *traces)
20
+ started = Process.clock_gettime(Process::CLOCK_MONOTONIC)
21
+ stdout, stderr, status = Open3.capture3({"WARDITE_TRACE" => "1"}, *command, unsetenv_others: true)
22
+ total = Process.clock_gettime(Process::CLOCK_MONOTONIC) - started
23
+ load_time = stderr[/^load_from_buffer: (\S+)$/, 1]
24
+ unless status.success? && stdout == expected && load_time && traces.all? { |trace| stderr.include?(trace) }
25
+ abort "#{command.inspect}\n#{stdout}#{stderr}"
26
+ end
27
+ {load_seconds: Float(load_time), process_seconds: total}
28
+ end
29
+
30
+ samples = Dir.mktmpdir("wardite-mir-cache-verify") do |directory|
31
+ baseline_cache = [baseline, "--new-engine", "--mir-cache", File.join(directory, "before")]
32
+ current_cache = [current, "--new-engine", "--mir-cache", File.join(directory, "after")]
33
+ inputs = ["--", wasm, *guest]
34
+ snapshot = ->(version) { ["--snapshot", File.join(directory, "#{version}-snapshot")] }
35
+ invoke([*baseline_cache, *snapshot.call("before"), *inputs], expected, "MIR2 cache miss:", "snapshot saved:")
36
+ invoke([*current_cache, *snapshot.call("after"), *inputs], expected, "MIR2 cache miss:", "snapshot saved:")
37
+
38
+ [false, true].flat_map do |with_snapshot|
39
+ commands = {
40
+ "before" => baseline_cache,
41
+ "sha256" => [*current_cache, "--mir-cache-verify", "sha256"],
42
+ "checksum" => [*current_cache, "--mir-cache-verify", "checksum"],
43
+ }
44
+ traces = ["MIR2 cache hit:"]
45
+ traces << "snapshot restored:" if with_snapshot
46
+ (warmups + runs).times.flat_map do |iteration|
47
+ commands.keys.rotate(iteration).filter_map do |mode|
48
+ command = commands.fetch(mode)
49
+ command = [*command, *snapshot.call(mode == "before" ? "before" : "after")] if with_snapshot
50
+ sample = invoke([*command, *inputs], expected, *traces)
51
+ sample.merge(mode: mode, snapshot: with_snapshot, run: iteration - warmups + 1) if iteration >= warmups
52
+ end
53
+ end
54
+ end
55
+ end
56
+
57
+ puts JSON.pretty_generate(wasm_sha256: Digest::SHA256.file(wasm).hexdigest, guest_arguments: guest,
58
+ runs: runs, warmups: warmups, samples: samples)
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Usage: ruby benchmark/measure_ruby_wasm_cache_hit.rb RUBY_WASM BASELINE BASELINE_BIN CURRENT_BIN
4
+ require "digest"
5
+ require "json"
6
+ require "open3"
7
+ require "rbconfig"
8
+ require "tmpdir"
9
+
10
+ wasm, baseline, baseline_bin, current_bin = ARGV.map { |path| File.expand_path(path) }
11
+ abort "Usage: ruby #{$PROGRAM_NAME} RUBY_WASM BASELINE BASELINE_BIN CURRENT_BIN" unless ARGV.size == 4
12
+ current = File.expand_path("..", __dir__)
13
+ runs = Integer(ENV.fetch("RUNS", "7"))
14
+ warmups = Integer(ENV.fetch("WARMUPS", "2"))
15
+ abort "Invalid run or warmup count" unless runs >= 3 && warmups >= 0
16
+
17
+ guest = ["--disable-gems", "-e", "puts RUBY_DESCRIPTION"]
18
+ expected, status = Open3.capture2("wasmtime", "run", wasm, *guest)
19
+ abort "Wasmtime did not run Ruby 4.0.9" unless status.success? && expected.start_with?("ruby 4.0.9 ")
20
+
21
+ commands = [
22
+ ["Spinel", "before", [baseline_bin]],
23
+ ["Spinel", "after", [current_bin]],
24
+ ]
25
+ { "CRuby" => "--disable-yjit", "CRuby YJIT" => "--yjit" }.each do |runtime, option|
26
+ { "before" => baseline, "after" => current }.each do |version, root|
27
+ commands << [runtime, version, [RbConfig.ruby, option, "-I#{root}/lib", "#{root}/exe/wardite"]]
28
+ end
29
+ end
30
+
31
+ samples = Dir.mktmpdir("wardite-cache-hit") do |cache|
32
+ args = ["--new-engine", "--mir-cache", cache, "--", wasm, *guest]
33
+ run = lambda do |command, cache_status|
34
+ started = Process.clock_gettime(Process::CLOCK_MONOTONIC)
35
+ stdout, stderr, status = Open3.capture3({ "WARDITE_TRACE" => "1" }, *command, *args)
36
+ total = Process.clock_gettime(Process::CLOCK_MONOTONIC) - started
37
+ load = stderr[/^load_from_buffer: (\S+)$/, 1]
38
+ unless status.success? && stdout == expected && stderr.include?("MIR2 cache #{cache_status}:") && load
39
+ abort "#{command.inspect}\n#{stdout}#{stderr}"
40
+ end
41
+ load = Float(load)
42
+ { process_seconds: total, load_seconds: load, guest_seconds: total - load }
43
+ end
44
+
45
+ # MIR2 keys include the runtime, so prime both native and CRuby entries.
46
+ commands.select { |runtime, version, _| version == "before" && runtime != "CRuby YJIT" }.each do |_, _, command|
47
+ run.call(command, "miss")
48
+ end
49
+ (warmups + runs).times.flat_map do |iteration|
50
+ order = iteration.even? ? commands : commands.reverse
51
+ order.filter_map do |runtime, version, command|
52
+ result = run.call(command, "hit")
53
+ result.merge(runtime: runtime, version: version, run: iteration - warmups + 1) if iteration >= warmups
54
+ end
55
+ end
56
+ end
57
+
58
+ puts JSON.pretty_generate(wasm_sha256: Digest::SHA256.file(wasm).hexdigest, guest: expected.strip,
59
+ guest_arguments: guest, host_ruby: RUBY_DESCRIPTION, warmups: warmups, runs: runs, samples: samples)
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "json"
4
+ require "wardite"
5
+ require "wardite/cli/cli"
6
+
7
+ module StartupMeasurement
8
+ SECONDS = Hash.new(0.0)
9
+
10
+ def self.measure(klass, method_name, phase)
11
+ wrapper = Module.new do
12
+ define_method(method_name) do |*args, **kwargs, &block|
13
+ started = Process.clock_gettime(Process::CLOCK_MONOTONIC)
14
+ super(*args, **kwargs, &block)
15
+ ensure
16
+ SECONDS[phase] += Process.clock_gettime(Process::CLOCK_MONOTONIC) - started
17
+ end
18
+ private method_name if klass.private_method_defined?(method_name)
19
+ end
20
+ klass.prepend(wrapper)
21
+ end
22
+ end
23
+
24
+ wasm = ARGV.shift || abort("Usage: ruby -Ilib #{$PROGRAM_NAME} RUBY.wasm [--mir-cache DIR]")
25
+ efflorescence = Wardite::Efflorescence
26
+ StartupMeasurement.measure(Wardite::BinaryLoader.singleton_class, :sections, :decode)
27
+ StartupMeasurement.measure(Wardite::Store, :initialize, :store)
28
+ StartupMeasurement.measure(efflorescence::Translator, :translate, :translate)
29
+ StartupMeasurement.measure(efflorescence::Optimizer, :optimize, :optimize)
30
+ StartupMeasurement.measure(efflorescence::RegisterValidation, :validate, :validate)
31
+ StartupMeasurement.measure(efflorescence::Lowerer, :compile, :lower)
32
+ StartupMeasurement.measure(efflorescence::VM, :call, :execute)
33
+ StartupMeasurement.measure(Wardite::Cli::Cli, :new_instance, :load)
34
+ if ARGV.include?("--mir-cache")
35
+ require "wardite/efflorescence/mir_cache"
36
+ StartupMeasurement.measure(efflorescence::MIRCache, :read, :cache_read)
37
+ StartupMeasurement.measure(efflorescence::MIRCache, :write, :cache_write)
38
+ end
39
+
40
+ started = Process.clock_gettime(Process::CLOCK_MONOTONIC)
41
+ Wardite::Cli::Cli.new(["--new-engine", *ARGV, "--", wasm, "--disable-gems", "-e", "puts RUBY_VERSION; puts 6*7"]).run
42
+ StartupMeasurement::SECONDS[:total] = Process.clock_gettime(Process::CLOCK_MONOTONIC) - started
43
+ warn JSON.generate(ruby: RUBY_DESCRIPTION, yjit: RubyVM::YJIT.enabled?, seconds: StartupMeasurement::SECONDS)
@@ -0,0 +1,390 @@
1
+ {
2
+ "wasm_sha256": "5d87d7e932b9b698892711f065d5e0313ad7aad96f88a9693d05aaae02541669",
3
+ "guest_arguments": [
4
+ "--disable-gems",
5
+ "-e",
6
+ "puts RUBY_VERSION"
7
+ ],
8
+ "runs": 9,
9
+ "warmups": 2,
10
+ "samples": [
11
+ {
12
+ "load_seconds": 0.2727949619293213,
13
+ "process_seconds": 0.8088750001043081,
14
+ "mode": "checksum",
15
+ "snapshot": false,
16
+ "run": 1
17
+ },
18
+ {
19
+ "load_seconds": 0.5117571353912354,
20
+ "process_seconds": 1.0493860002607107,
21
+ "mode": "before",
22
+ "snapshot": false,
23
+ "run": 1
24
+ },
25
+ {
26
+ "load_seconds": 0.5115060806274414,
27
+ "process_seconds": 1.039800999686122,
28
+ "mode": "sha256",
29
+ "snapshot": false,
30
+ "run": 1
31
+ },
32
+ {
33
+ "load_seconds": 0.5031051635742188,
34
+ "process_seconds": 1.0328040001913905,
35
+ "mode": "before",
36
+ "snapshot": false,
37
+ "run": 2
38
+ },
39
+ {
40
+ "load_seconds": 0.5026681423187256,
41
+ "process_seconds": 1.032401999924332,
42
+ "mode": "sha256",
43
+ "snapshot": false,
44
+ "run": 2
45
+ },
46
+ {
47
+ "load_seconds": 0.2729799747467041,
48
+ "process_seconds": 0.8118270002305508,
49
+ "mode": "checksum",
50
+ "snapshot": false,
51
+ "run": 2
52
+ },
53
+ {
54
+ "load_seconds": 0.5102782249450684,
55
+ "process_seconds": 1.0502900001592934,
56
+ "mode": "sha256",
57
+ "snapshot": false,
58
+ "run": 3
59
+ },
60
+ {
61
+ "load_seconds": 0.2751128673553467,
62
+ "process_seconds": 0.8060320001095533,
63
+ "mode": "checksum",
64
+ "snapshot": false,
65
+ "run": 3
66
+ },
67
+ {
68
+ "load_seconds": 0.5673890113830566,
69
+ "process_seconds": 1.098593999631703,
70
+ "mode": "before",
71
+ "snapshot": false,
72
+ "run": 3
73
+ },
74
+ {
75
+ "load_seconds": 0.2714712619781494,
76
+ "process_seconds": 0.8023680001497269,
77
+ "mode": "checksum",
78
+ "snapshot": false,
79
+ "run": 4
80
+ },
81
+ {
82
+ "load_seconds": 0.5018177032470703,
83
+ "process_seconds": 1.0371350003406405,
84
+ "mode": "before",
85
+ "snapshot": false,
86
+ "run": 4
87
+ },
88
+ {
89
+ "load_seconds": 0.5072507858276367,
90
+ "process_seconds": 1.0439849998801947,
91
+ "mode": "sha256",
92
+ "snapshot": false,
93
+ "run": 4
94
+ },
95
+ {
96
+ "load_seconds": 0.5069308280944824,
97
+ "process_seconds": 1.0373740000650287,
98
+ "mode": "before",
99
+ "snapshot": false,
100
+ "run": 5
101
+ },
102
+ {
103
+ "load_seconds": 0.5743081569671631,
104
+ "process_seconds": 1.1041450002230704,
105
+ "mode": "sha256",
106
+ "snapshot": false,
107
+ "run": 5
108
+ },
109
+ {
110
+ "load_seconds": 0.2701539993286133,
111
+ "process_seconds": 0.7996729998849332,
112
+ "mode": "checksum",
113
+ "snapshot": false,
114
+ "run": 5
115
+ },
116
+ {
117
+ "load_seconds": 0.523139238357544,
118
+ "process_seconds": 1.0614260002039373,
119
+ "mode": "sha256",
120
+ "snapshot": false,
121
+ "run": 6
122
+ },
123
+ {
124
+ "load_seconds": 0.2751350402832031,
125
+ "process_seconds": 0.8121290002018213,
126
+ "mode": "checksum",
127
+ "snapshot": false,
128
+ "run": 6
129
+ },
130
+ {
131
+ "load_seconds": 0.519934892654419,
132
+ "process_seconds": 1.0587380002252758,
133
+ "mode": "before",
134
+ "snapshot": false,
135
+ "run": 6
136
+ },
137
+ {
138
+ "load_seconds": 0.2760748863220215,
139
+ "process_seconds": 0.8047030000016093,
140
+ "mode": "checksum",
141
+ "snapshot": false,
142
+ "run": 7
143
+ },
144
+ {
145
+ "load_seconds": 0.5091431140899658,
146
+ "process_seconds": 1.0386109999381006,
147
+ "mode": "before",
148
+ "snapshot": false,
149
+ "run": 7
150
+ },
151
+ {
152
+ "load_seconds": 0.515902042388916,
153
+ "process_seconds": 1.0494599998928607,
154
+ "mode": "sha256",
155
+ "snapshot": false,
156
+ "run": 7
157
+ },
158
+ {
159
+ "load_seconds": 0.5127460956573486,
160
+ "process_seconds": 1.0499019999988377,
161
+ "mode": "before",
162
+ "snapshot": false,
163
+ "run": 8
164
+ },
165
+ {
166
+ "load_seconds": 0.5072541236877441,
167
+ "process_seconds": 1.0362339997664094,
168
+ "mode": "sha256",
169
+ "snapshot": false,
170
+ "run": 8
171
+ },
172
+ {
173
+ "load_seconds": 0.2724952697753906,
174
+ "process_seconds": 0.8008659998886287,
175
+ "mode": "checksum",
176
+ "snapshot": false,
177
+ "run": 8
178
+ },
179
+ {
180
+ "load_seconds": 0.5208649635314941,
181
+ "process_seconds": 1.0518740001134574,
182
+ "mode": "sha256",
183
+ "snapshot": false,
184
+ "run": 9
185
+ },
186
+ {
187
+ "load_seconds": 0.33174586296081543,
188
+ "process_seconds": 0.863963000010699,
189
+ "mode": "checksum",
190
+ "snapshot": false,
191
+ "run": 9
192
+ },
193
+ {
194
+ "load_seconds": 0.5089280605316162,
195
+ "process_seconds": 1.0442570000886917,
196
+ "mode": "before",
197
+ "snapshot": false,
198
+ "run": 9
199
+ },
200
+ {
201
+ "load_seconds": 0.27159690856933594,
202
+ "process_seconds": 0.32905999990180135,
203
+ "mode": "checksum",
204
+ "snapshot": true,
205
+ "run": 1
206
+ },
207
+ {
208
+ "load_seconds": 0.5008609294891357,
209
+ "process_seconds": 0.5605919999070466,
210
+ "mode": "before",
211
+ "snapshot": true,
212
+ "run": 1
213
+ },
214
+ {
215
+ "load_seconds": 0.5259411334991455,
216
+ "process_seconds": 0.5845010001212358,
217
+ "mode": "sha256",
218
+ "snapshot": true,
219
+ "run": 1
220
+ },
221
+ {
222
+ "load_seconds": 0.5061650276184082,
223
+ "process_seconds": 0.5652509997598827,
224
+ "mode": "before",
225
+ "snapshot": true,
226
+ "run": 2
227
+ },
228
+ {
229
+ "load_seconds": 0.5109097957611084,
230
+ "process_seconds": 0.5685660000890493,
231
+ "mode": "sha256",
232
+ "snapshot": true,
233
+ "run": 2
234
+ },
235
+ {
236
+ "load_seconds": 0.2735259532928467,
237
+ "process_seconds": 0.3322240002453327,
238
+ "mode": "checksum",
239
+ "snapshot": true,
240
+ "run": 2
241
+ },
242
+ {
243
+ "load_seconds": 0.511530876159668,
244
+ "process_seconds": 0.5688889999873936,
245
+ "mode": "sha256",
246
+ "snapshot": true,
247
+ "run": 3
248
+ },
249
+ {
250
+ "load_seconds": 0.27681398391723633,
251
+ "process_seconds": 0.3356540002860129,
252
+ "mode": "checksum",
253
+ "snapshot": true,
254
+ "run": 3
255
+ },
256
+ {
257
+ "load_seconds": 0.5026967525482178,
258
+ "process_seconds": 0.559391999617219,
259
+ "mode": "before",
260
+ "snapshot": true,
261
+ "run": 3
262
+ },
263
+ {
264
+ "load_seconds": 0.2716851234436035,
265
+ "process_seconds": 0.3309479998424649,
266
+ "mode": "checksum",
267
+ "snapshot": true,
268
+ "run": 4
269
+ },
270
+ {
271
+ "load_seconds": 0.5021188259124756,
272
+ "process_seconds": 0.5631099999882281,
273
+ "mode": "before",
274
+ "snapshot": true,
275
+ "run": 4
276
+ },
277
+ {
278
+ "load_seconds": 0.5559988021850586,
279
+ "process_seconds": 0.615648000035435,
280
+ "mode": "sha256",
281
+ "snapshot": true,
282
+ "run": 4
283
+ },
284
+ {
285
+ "load_seconds": 0.5074019432067871,
286
+ "process_seconds": 0.5655439998954535,
287
+ "mode": "before",
288
+ "snapshot": true,
289
+ "run": 5
290
+ },
291
+ {
292
+ "load_seconds": 0.5091619491577148,
293
+ "process_seconds": 0.5699460003525019,
294
+ "mode": "sha256",
295
+ "snapshot": true,
296
+ "run": 5
297
+ },
298
+ {
299
+ "load_seconds": 0.27547788619995117,
300
+ "process_seconds": 0.33471400011330843,
301
+ "mode": "checksum",
302
+ "snapshot": true,
303
+ "run": 5
304
+ },
305
+ {
306
+ "load_seconds": 0.5083301067352295,
307
+ "process_seconds": 0.5664960001595318,
308
+ "mode": "sha256",
309
+ "snapshot": true,
310
+ "run": 6
311
+ },
312
+ {
313
+ "load_seconds": 0.27250099182128906,
314
+ "process_seconds": 0.3296369998715818,
315
+ "mode": "checksum",
316
+ "snapshot": true,
317
+ "run": 6
318
+ },
319
+ {
320
+ "load_seconds": 0.5678451061248779,
321
+ "process_seconds": 0.6275510000996292,
322
+ "mode": "before",
323
+ "snapshot": true,
324
+ "run": 6
325
+ },
326
+ {
327
+ "load_seconds": 0.27242207527160645,
328
+ "process_seconds": 0.33232800010591745,
329
+ "mode": "checksum",
330
+ "snapshot": true,
331
+ "run": 7
332
+ },
333
+ {
334
+ "load_seconds": 0.5024521350860596,
335
+ "process_seconds": 0.5604760004207492,
336
+ "mode": "before",
337
+ "snapshot": true,
338
+ "run": 7
339
+ },
340
+ {
341
+ "load_seconds": 0.512584924697876,
342
+ "process_seconds": 0.5695890001952648,
343
+ "mode": "sha256",
344
+ "snapshot": true,
345
+ "run": 7
346
+ },
347
+ {
348
+ "load_seconds": 0.5840630531311035,
349
+ "process_seconds": 0.6454449999146163,
350
+ "mode": "before",
351
+ "snapshot": true,
352
+ "run": 8
353
+ },
354
+ {
355
+ "load_seconds": 0.5157239437103271,
356
+ "process_seconds": 0.5737499999813735,
357
+ "mode": "sha256",
358
+ "snapshot": true,
359
+ "run": 8
360
+ },
361
+ {
362
+ "load_seconds": 0.27284789085388184,
363
+ "process_seconds": 0.33060699980705976,
364
+ "mode": "checksum",
365
+ "snapshot": true,
366
+ "run": 8
367
+ },
368
+ {
369
+ "load_seconds": 0.5295219421386719,
370
+ "process_seconds": 0.5887529999017715,
371
+ "mode": "sha256",
372
+ "snapshot": true,
373
+ "run": 9
374
+ },
375
+ {
376
+ "load_seconds": 0.27449607849121094,
377
+ "process_seconds": 0.3337469999678433,
378
+ "mode": "checksum",
379
+ "snapshot": true,
380
+ "run": 9
381
+ },
382
+ {
383
+ "load_seconds": 0.5030820369720459,
384
+ "process_seconds": 0.560564000159502,
385
+ "mode": "before",
386
+ "snapshot": true,
387
+ "run": 9
388
+ }
389
+ ]
390
+ }