Add example of crazy long snippet for performance testing
This commit is contained in:
parent
2189e3ee0f
commit
483fcbe30a
|
@ -13,7 +13,8 @@
|
|||
},
|
||||
"./package.json": "./package.json",
|
||||
"./test/utils": "./test/utils.js",
|
||||
"./iife": "./src/iife.js"
|
||||
"./iife": "./src/iife.js",
|
||||
"./snippet": "./src/helpers/snippet.js"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
|
@ -3,7 +3,6 @@ const cloneDeep = require("lodash.clonedeep")
|
|||
const { LITERAL_MARKER } = require("../helpers/constants")
|
||||
const { getJsHelperList } = require("./list")
|
||||
const { iifeWrapper } = require("../iife")
|
||||
const { CrazyLongSnippet } = require("./snippet")
|
||||
|
||||
// The method of executing JS scripts depends on the bundle being built.
|
||||
// This setter is used in the entrypoint (either index.js or index.mjs).
|
||||
|
@ -51,7 +50,6 @@ const snippets = {
|
|||
HelloWorld: `
|
||||
return "Hello, world!"
|
||||
`,
|
||||
CrazyLongSnippet: atob(CrazyLongSnippet),
|
||||
}
|
||||
|
||||
// Evaluates JS code against a certain context
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue