code: def bench_derive_trajectories(benchmark, sorted_trajectories):
      ids = cupy.random.randint(1, 400, 10000)
      timestamps = cupy.random.random(10000) * 10000
      x = cupy.random.random(10000)
      y = cupy.random.random(10000)
      points = cuspatial.GeoSeries.from_points_xy(
          cudf.DataFrame({"x": x, "y": y}).interleave_columns()
      )
      benchmark(cuspatial.derive_trajectories, ids, points, timestamps)
  
imports: import cupy
  import geopandas
  import pytest
  import cudf
  import cuspatial
label_desc: Use image node_id 3 for calling a global function with example usage: bench_derive_trajectories(benchmark, sorted_trajectories) without return types