You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SKaiNET Performance Measurement Framework provides comprehensive tools for benchmarking tensor operations and analyzing computational performance across different backends and configurations.
8
+
9
+
== Overview
10
+
11
+
The performance measurement framework is designed to:
12
+
13
+
* Measure execution time and throughput of tensor operations
14
+
* Compare performance between different compute backends
15
+
* Provide statistical analysis of benchmark results
16
+
* Generate detailed performance reports
17
+
* Support multiplatform benchmarking
18
+
19
+
== Key Components
20
+
21
+
=== BenchmarkRunner
22
+
23
+
The `BenchmarkRunner` class is the core component that executes performance measurements:
24
+
25
+
[source,kotlin]
26
+
----
27
+
val runner = BenchmarkRunner()
28
+
val result = runner.benchmark(
29
+
name = "Matrix Multiplication 256x256",
30
+
warmupRuns = 10,
31
+
measurementRuns = 100
32
+
) {
33
+
// Your operation to benchmark
34
+
backend.matmul(matrixA, matrixB)
35
+
}
36
+
----
37
+
38
+
=== Benchmark Results
39
+
40
+
The framework provides comprehensive result analysis:
41
+
42
+
* **TimeStatistics**: Mean, median, standard deviation, min/max execution times
0 commit comments