code: def bench_directed_hausdorff_distance_many_spaces(benchmark):
      spaces = 10000
      coords = cupy.zeros((spaces * 2,))
      offsets = cupy.arange(spaces + 1, dtype="int32")
      s = cuspatial.GeoSeries.from_multipoints_xy(coords, offsets)
      benchmark(cuspatial.directed_hausdorff_distance, s)
  
imports: import cupy
  import geopandas
  import pytest
  import cudf
  import cuspatial
label_desc: Use image node_id 10 for calling a global function with example usage: bench_directed_hausdorff_distance_many_spaces(benchmark) without return types