115 |
{name}
116 |
Input Size:
117 |
setInputSize(parseInt(e.target.value))}
122 | />
123 |
Batch Size:
124 |
setBatchSize(parseInt(e.target.value))}
129 | disabled={!batchable} />
130 |
131 |
134 |
{gpuTime > 0 ? gpuTime : 'GPU Time: 0ms'}
135 |
138 |
{wasmTime > 0 ? wasmTime : 'WASM Time: 0ms'}
139 |
{comparison}
140 |
141 |
142 | );
143 | };
--------------------------------------------------------------------------------
/src/ui/CSVExportButton.tsx:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | interface CSVExportButtonProps {
4 | data: string[][];
5 | filename: string;
6 | }
7 |
8 | const CSVExportButton: React.FC