mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Fix paths in performance report
This commit is contained in:
1 parent
064dec5095
commit
eaf830c05c
1 file changed
+10
-10
@@ -110,13 +110,13 @@ As a bottom line, the raw SQLite C API is used as efficiently as possible, witho
|
||||
|
||||
- **Column indexes**:
|
||||
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/FetchPositionalValuesTests.swift))
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/FetchPositionalValuesTests.swift))
|
||||
|
||||
This test fetches 100000 rows of 10 ints and extracts each int given its position in the row.
|
||||
|
||||
It uses FMDB's `-[FMResultSet longForColumnIndex:]`, GRDB's `Row.value(atIndex:)`, and the low-level SQL API of SQLite.swift.
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertPositionalValuesTests.swift))
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/InsertPositionalValuesTests.swift))
|
||||
|
||||
This test inserts 20000 rows of 10 ints, by setting query arguments given their position.
|
||||
|
||||
@@ -124,13 +124,13 @@ As a bottom line, the raw SQLite C API is used as efficiently as possible, witho
|
||||
|
||||
- **Column names**:
|
||||
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/FetchNamedValuesTests.swift))
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/FetchNamedValuesTests.swift))
|
||||
|
||||
This test fetches 100000 rows of 10 ints and extracts each int given its column name.
|
||||
|
||||
It uses FMDB's `-[FMResultSet longForColumn:]`, GRDB's `Row.value(named:)`, and the high-level query builder of SQLite.swift.
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertNamedValuesTests.swift))
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/InsertNamedValuesTests.swift))
|
||||
|
||||
This test inserts 20000 rows of 10 ints, by setting query arguments given their argument name.
|
||||
|
||||
@@ -138,37 +138,37 @@ As a bottom line, the raw SQLite C API is used as efficiently as possible, witho
|
||||
|
||||
- **Records**:
|
||||
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/FetchRecordStructTests.swift))
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/FetchRecordStructTests.swift))
|
||||
|
||||
This test fetches an array of 100000 record objects initiated from rows of 10 ints.
|
||||
|
||||
It builds records from FMDB's `-[FMResultSet resultDictionary]`, GRDB's built-in [FetchableRecord](https://github.com/groue/GRDB.swift/blob/master/README.md#fetchablerecord-protocol) protocol, and the values returned by the high-level query builder of SQLite.swift.
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertRecordStructTests.swift))
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/InsertRecordStructTests.swift))
|
||||
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's [PersistableRecord](https://github.com/groue/GRDB.swift/blob/master/README.md#persistablerecord-protocol) protocol.
|
||||
|
||||
- **Codable Records**:
|
||||
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/FetchRecordCodableTests.swift))
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/FetchRecordCodableTests.swift))
|
||||
|
||||
This test fetches an array of 100000 record objects initiated from rows of 10 ints.
|
||||
|
||||
It builds records from GRDB's built-in support for the [Decodable standard protocols](https://github.com/groue/GRDB.swift/blob/master/README.md#codable-records).
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertRecordCodableTests.swift))
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/InsertRecordCodableTests.swift))
|
||||
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's built-in support for the [Encodable standard protocols](https://github.com/groue/GRDB.swift/blob/master/README.md#codable-records).
|
||||
|
||||
- **Records with change tracking**:
|
||||
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/FetchRecordClassTests.swift))
|
||||
- **Fetch** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/FetchRecordClassTests.swift))
|
||||
|
||||
This test fetches an array of 100000 record objects initiated from rows of 10 ints.
|
||||
|
||||
It builds records from FMDB's `-[FMResultSet resultDictionary]`, GRDB's built-in [Record](https://github.com/groue/GRDB.swift/blob/master/README.md#record-class) class.
|
||||
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/InsertRecordClassTests.swift))
|
||||
- **Insert** ([source](https://github.com/groue/GRDB.swift/blob/master/Tests/Performance/GRDBPerformance/InsertRecordClassTests.swift))
|
||||
|
||||
This tests inserts 20000 records with the persistence method provided by GRDB's [Record](https://github.com/groue/GRDB.swift/blob/master/README.md#record-class) class.
|
||||
REPORT
|
||||
Reference in new issue
Block a user