Skip to content

Commit 5d40b2d

Browse files
committed
update documents
1 parent 7898385 commit 5d40b2d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ Note
6060
- Detailed explanation is described [here](doc/result_mode.md).
6161
- [Usages of Result Mode](doc/result_mode.md#usages).
6262

63+
## Performance
64+
65+
Response time for fetching 1,000,000 records
66+
67+
|package|response time|
68+
|--|--|
69+
|segmentio/go-athena|2m 33.4132205s|
70+
|speee/go-athena API mode|2m 26.475804292s|
71+
|speee/go-athena DL mode|20.719727417s|
72+
|speee/go-athena GZIP mode|17.661648209s|
73+
6374
## Prepared Statements
6475

6576
You can use [Athena Prepared Statements](https://docs.aws.amazon.com/athena/latest/ug/querying-with-prepared-statements.html).

doc/result_mode.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ I think the following trends can be said.
6565
- DL mode and API mode are effective for a small number of cases
6666
- GZIP DL mode is very effective for a large number of cases
6767

68+
### Comparison with segmentio/go-athena
69+
70+
|package|response time (500000 rows)|response time (1000000 rows)|response time (5000000 rows)|
71+
|--|--|--|--|
72+
|segmentio/go-athena|1m 19.8935445s|2m 33.4132205s|12m 36.8392345s|
73+
|speee/go-athena API mode|1m 18.9925315s|2m 26.475804292s|12m 25.008203542s|
74+
|speee/go-athena DL mode|12.721702583s|20.719727417s|1m 23.689167708s|
75+
|speee/go-athena GZIP mode|15.8399715s|17.661648209s|43.873663666s|
76+
6877
## Usages
6978

7079
### Setting in Configuration

0 commit comments

Comments
 (0)