code: def assert_benchmark(name, google_result, archery_result):
      observation = GoogleBenchmarkObservation(**google_result)
      benchmark = GoogleBenchmark(name, [observation])
      result = json.dumps(benchmark, cls=JsonEncoder)
      assert json.loads(result) == archery_result
  
imports: import json
  from archery.benchmark.codec import JsonEncoder
  from archery.benchmark.core import Benchmark, median
  from archery.benchmark.compare import BenchmarkComparator, RunnerComparator
  from archery.benchmark.google import GoogleBenchmark, GoogleBenchmarkObservation
  from archery.benchmark.runner import StaticBenchmarkRunner
label_desc: Use image node_id 7 for calling a global function with example usage: assert_benchmark(name, google_result, archery_result) without return types