This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
window._ = {}; | |
// Returns whatever value is passed as the argument. This function doesn't | |
// seem very useful, but remember it--if a function needs to provide an | |
// iterator when the user does not pass one in, this will be handy. | |
_.identity = function(val) { | |
return val; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable import/no-unresolved */ | |
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export const options = { | |
vus: 1000, | |
duration: '2s', | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"reviews": [ | |
{ | |
"profile": { | |
"name": "Vallie Lang", | |
"avatar": "https://s3.amazonaws.com/uifaces/faces/twitter/a_harris88/128.jpg" | |
}, | |
"_id": "5eacb404a5db4880a3b45a14", | |
"title": "praesentium aut ratione pariatur adipisci repellendus sed blanditiis qui", | |
"star_rating": 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------- | |
// arrows | |
// ----------------------------- | |
// $direction: top, left, right, bottom, top-left, top-right, bottom-left, bottom-right | |
// $color: hex, rgb or rbga | |
// $size: px or em | |
// $position: true or false - optional (move to overhanging centered edge, message box style) | |
// @example | |
// .element{ |