Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lwc-engine): Add pragma to engine artifacts #156

Merged
merged 1 commit into from
Mar 15, 2018
Merged

Conversation

diervo
Copy link
Contributor

@diervo diervo commented Mar 15, 2018

Details

When running COMPAT transpilation (in any rollup plugin) guarantee that engine its ignored.

Fix #155

@caridy
Copy link
Contributor

caridy commented Mar 15, 2018

was this exhibit somewhere? or is this just precaution?

@@ -9,7 +9,7 @@ const entry = path.resolve(__dirname, '../src/framework/main.ts');
const commonJSDirectory = path.resolve(__dirname, '../dist/commonjs');
const modulesDirectory = path.resolve(__dirname, '../dist/modules');

const banner = (`/**\n * Copyright (C) 2017 salesforce.com, inc.\n */`);
const banner = (`/* proxy-compat-disable */`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can still keep the salesforce copyright in a secondary line using \n

Copy link
Contributor Author

@diervo diervo Mar 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather put all the copyrights later as part of the GA effort, because we have different licenses everywhere. I want to debate with legal wether we need the year or not, because its always a pain.

@diervo
Copy link
Contributor Author

diervo commented Mar 15, 2018

@caridy building compat for LDS. But it would also happen in our integration tests if I didn't take it out for perf reasons.

Copy link
Contributor

@caridy caridy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just minor questions...

@salesforce-best-lwc-internal
Copy link

Benchmark comparison

Base commit: 7c91533 | Target commit: 8154409

benchmark base(7c91533) target(8154409) trend
table-append-1k.benchmark:benchmark-table/append/1k 272.77 (± 2.62 ms) 281.50 (± 7.85 ms) 👎
table-clear-1k.benchmark:benchmark-table/clear/1k 13.53 (± 0.54 ms) 19.14 (± 2.74 ms) 👎
table-create-10k.benchmark:benchmark-table/create/10k 1516.63 (± 10.28 ms) 2873.13 (± 641.37 ms) 👎
table-create-1k.benchmark:benchmark-table/create/1k 162.79 (± 2.83 ms) 167.22 (± 2.06 ms) 👎
table-update-10th-1k.benchmark:benchmark-table/update-10th/1k 138.72 (± 3.56 ms) 148.07 (± 2.03 ms) 👎
tablecmp-append-1k.benchmark:benchmark-table-component/append/1k 356.64 (± 4.73 ms) 359.04 (± 7.44 ms) 👌
tablecmp-clear-1k.benchmark:benchmark-table/clear/1k 34.90 (± 1.15 ms) 34.92 (± 1.64 ms) 👌
tablecmp-create-10k.benchmark:benchmark-table-component/create/10k 2668.68 (± 20.22 ms) 2707.42 (± 28.96 ms) 👎
tablecmp-create-1k.benchmark:benchmark-table-component/create/1k 293.61 (± 4.44 ms) 306.38 (± 10.32 ms) 👎
tablecmp-update-10th-1k.benchmark:benchmark-table-component/update-10th/1k 150.71 (± 3.35 ms) 153.62 (± 4.22 ms) 👌

@diervo diervo merged commit f83397c into master Mar 15, 2018
@diervo diervo deleted the dval/addPragmaEngine branch March 15, 2018 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants