Skip to content

Commit

Permalink
comment out rn performance
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Mar 16, 2024
1 parent bd66b69 commit 229fa5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1511,4 +1511,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 0ab74fecad6ac2e35f8eab32fe5772c19d2015b2

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
7 changes: 3 additions & 4 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {open} from '@op-engineering/op-sqlite';
import clsx from 'clsx';
import {preparedStatementsTests} from './tests/preparedStatements.spec';
import {constantsTests} from './tests/constants.spec';
import performance from 'react-native-performance';

const StyledScrollView = styled(ScrollView, {
props: {
Expand Down Expand Up @@ -53,11 +52,11 @@ export default function App() {
}, []);

const querySingleRecord = async () => {
let start = performance.now();
// let start = performance.now();
await querySingleRecordOnLargeDB();
let end = performance.now();
// let end = performance.now();

setSingleRecordTime(end - start);
// setSingleRecordTime(end - start);
};

const createLargeDb = async () => {
Expand Down

0 comments on commit 229fa5b

Please sign in to comment.