File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
shared/blocking-aws-blockquote
templates/doc-page/doc-page-content Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ import Blockquote from 'components/shared/blockquote' ;
2
+ import React from 'react' ;
3
+
4
+ const BlockingAwsBlockquote = ( ) => (
5
+ < Blockquote
6
+ mod = "Attention"
7
+ title = "Performance considerations and recommended practices"
8
+ >
9
+ The APIs provided by this jslib operate synchronously, which means k6 must
10
+ wait for operations that use the client classes to finish before proceeding
11
+ with the rest of the script.
12
+ < p >
13
+ In some cases, such as downloading large files from S3, this could affect
14
+ performance and test results. To minimize the impact on test performance,
15
+ we recommend using these operations in the
16
+ < span className = "code-inline" > setup</ span > and{ ' ' }
17
+ < span className = "code-inline" > teardown</ span > { ' ' }
18
+ < a href = "/using-k6/test-lifecycle/" > lifecycle functions</ a > . These
19
+ functions run before and after the test run and thus do not influence test
20
+ results.
21
+ </ p >
22
+ </ Blockquote >
23
+ ) ;
24
+
25
+ export default BlockingAwsBlockquote ;
Original file line number Diff line number Diff line change
1
+ import BlockingAwsBlockquote from './blocking-aws-blockquote.view' ;
2
+
3
+ export default BlockingAwsBlockquote ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import classNames from 'classnames';
2
2
import { HtmlContent } from 'components/blocks/html-content' ;
3
3
import Glossary from 'components/pages/doc-page/glossary' ;
4
4
import TableOfContents from 'components/pages/doc-page/table-of-contents' ;
5
+ import BlockingAwsBlockquote from 'components/shared/blocking-aws-blockquote' ;
5
6
import Blockquote from 'components/shared/blockquote' ;
6
7
import BrowserClassList from 'components/shared/browser-class-list' ;
7
8
import BrowserDocsWIP from 'components/shared/browser-docs-wip' ;
@@ -39,6 +40,7 @@ const componentsForNativeReplacement = {
39
40
BrowserClassList,
40
41
BrowserWIP,
41
42
ExperimentalBlockquote,
43
+ BlockingAwsBlockquote,
42
44
InstallationInstructions,
43
45
Tooltip,
44
46
BNIT ,
You can’t perform that action at this time.
0 commit comments