code: def time_betweenness_centrality(self, graph):
      # timing this should also give us information about
      # underlying shortest path methods
      _ = nx.betweenness_centrality(self.graphs_dict[graph])
  
file_path: networkx/benchmarks/benchmarks/benchmark_algorithms.py
imports: import networkx
  from benchmarks.utils import fetch_drug_interaction_network
  from networkx.algorithms import community
label_desc: Use image node_id 2 for calling the AlgorithmBenchmarks obj's underlying member method code with example usage: obj.time_betweenness_centrality(graph) without return types