Home / Function/ Benchmark_App_RebuildTree_Parallel() — fiber Function Reference

Benchmark_App_RebuildTree_Parallel() — fiber Function Reference

Architecture documentation for the Benchmark_App_RebuildTree_Parallel() function in router_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  1bfb51e2_4c77_bae4_879b_a5658e21e2d4["Benchmark_App_RebuildTree_Parallel()"]
  326d7e00_9e4f_d854_0c78_b9c0c93e5537["router_test.go"]
  1bfb51e2_4c77_bae4_879b_a5658e21e2d4 -->|defined in| 326d7e00_9e4f_d854_0c78_b9c0c93e5537
  96c0a661_d778_b8e3_0e6d_27128de9df0a["registerDummyRoutes()"]
  1bfb51e2_4c77_bae4_879b_a5658e21e2d4 -->|calls| 96c0a661_d778_b8e3_0e6d_27128de9df0a
  style 1bfb51e2_4c77_bae4_879b_a5658e21e2d4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

router_test.go lines 2044–2056

func Benchmark_App_RebuildTree_Parallel(b *testing.B) {
	b.ReportAllocs()
	b.ResetTimer()
	b.RunParallel(func(pb *testing.PB) {
		// Each worker gets its own App instance to avoid data races on shared state
		localApp := New()
		registerDummyRoutes(localApp)
		for pb.Next() {
			localApp.routesRefreshed = true
			localApp.RebuildTree()
		}
	})
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Benchmark_App_RebuildTree_Parallel() do?
Benchmark_App_RebuildTree_Parallel() is a function in the fiber codebase, defined in router_test.go.
Where is Benchmark_App_RebuildTree_Parallel() defined?
Benchmark_App_RebuildTree_Parallel() is defined in router_test.go at line 2044.
What does Benchmark_App_RebuildTree_Parallel() call?
Benchmark_App_RebuildTree_Parallel() calls 1 function(s): registerDummyRoutes.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free