File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
extension/benchmark/apple/Benchmark/Tests Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1010
1111#import < executorch/extension/module/module.h>
1212#import < executorch/extension/tensor/tensor.h>
13+ #include < os/proc.h>
1314
1415using namespace ::executorch::extension;
1516using namespace ::executorch::runtime;
@@ -50,9 +51,11 @@ @implementation GenericTests
5051 [testCase
5152 measureWithMetrics: @[ [XCTClockMetric new ], [XCTMemoryMetric new ] ]
5253 block: ^{
53- XCTAssertEqual (
54- Module (modelPath.UTF8String ).load_forward (),
55- Error::Ok);
54+ // DEBUG
55+ XCTAssertGreaterThan (os_proc_available_memory (), 8589934592 );
56+ // XCTAssertEqual(
57+ // Module(modelPath.UTF8String).load_forward(),
58+ // Error::Ok);
5659 }];
5760 },
5861 @" forward" : ^(XCTestCase *testCase) {
You can’t perform that action at this time.
0 commit comments