Age | Commit message (Collapse) | Author |
|
Bug: 189946434
Change-Id: I7a9a9213c35d3f03b7dcc34306563097e7063cc4
|
|
d8363f3b50 am: de5924ce12 am: 53a3376464
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1588601
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I91f1b7a5aa669090293eadf355161650e8e360eb
|
|
d8363f3b50 am: de5924ce12 am: 53a3376464
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1588601
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I23da09e41a442339313b2eb4442c67f90f0b1b69
|
|
d8363f3b50 am: de5924ce12
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1588601
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0a0815403e204e34dee1f0df01554e1648927ec7
|
|
d8363f3b50
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1588601
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8351236d01337df93626faa57fb71a53fd809532
|
|
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1588601
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0c0b027b90807d461c939183c101c2dec2e8d760
|
|
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I5b96b53aca4d90c8dd4e53b9779d5110b9884b18
|
|
51ef969a6f am: 0cd428ffdc am: f1c10578de
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343297
Change-Id: I9631bcbcd2c567e6ea81f73f934ed81b71962a24
|
|
am: f29fb6ed5e am: cc05f1b8c0 am: 6ddc2e77d3
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343296
Change-Id: I98942f8946a7975cef65e6df530e22321112bb8f
|
|
51ef969a6f am: 0cd428ffdc
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343297
Change-Id: I3f5cf3e585499bab1d7f726e43e23e248da8a3ab
|
|
am: f29fb6ed5e am: cc05f1b8c0
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343296
Change-Id: If2c33d268d0adf811a08ef5ab12744fc4a3aebd8
|
|
51ef969a6f
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343297
Change-Id: Ib9880171da3ec6c4059e99e0f4869ec850602924
|
|
am: f29fb6ed5e
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343296
Change-Id: I5c32fb4f5bb679436369b90f5d59784c8596b587
|
|
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343297
Change-Id: Ib5c80e9e40ffb37408b08c037ef4aeb7b753ab27
|
|
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343296
Change-Id: Ib4ec2e1354d9ade01503a39340ae9fd4d9b38eaf
|
|
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343297
Change-Id: I8e84e3a9e9a67ac50ba8c45095daf52b336dec81
|
|
Original change: https://android-review.googlesource.com/c/platform/external/escapevelocity/+/1343296
Change-Id: Ia48ff60f21a72bdd4c7a00c0cb47b5b52b2f92e8
|
|
Add Android.bp, METADATA and MODULE_LICENSE_APACHE2 files for
escapevelocity.
Bug: 158870037
Test: m checkbuild
Change-Id: Ibef08bca1c581866464aa046b01e1767f5a03cc4
|
|
Bug: 158870037
Test: m checkbuild
[maven-release-plugin] copy for tag escapevelocity-0.9.1
Change-Id: I372c58f18996d4f76f6845da7e6ff28a2d49522b
|
|
|
|
|
|
Moe Sync
|
|
---
Cache Method objects per template rather than per template evaluation.
In a somewhat artificial benchmark, this sped up evaluation by 35%. The benchmark compiles AutoValueTest.java 100 times, and measures how much time was spent by AutoValueProcessor in template evaluation. AutoValueTest.java has 40 @AutoValue classes, and each of those triggers a separate template evaluation. Previously every one of those created a new Method cache (MethodFinder object). Now only the first one (on each iteration of the benchmark) does.
Compilation runs will rarely have as many as 40 @AutoValue classes, but they have often have several, so there is still some benefit.
According to this benchmark, EscapeVelocity and Apache Velocity now have indistinguishable performance.
Internal change: 245835876
---
Avoid excessive reflection overhead by caching the results of method lookups. On an ad-hoc benchmark this improved template evaluation time by 38%. That means that code generators such as AutoValue that use EscapeVelocity should see a substantial speedup.
Internal change: 244671738
---
If $foo is a Map then Velocity interprets $foo.bar the same as $foo["bar"]. Previously EscapeVelocity interpreted it the same as for other objects, by looking for a getBar() method (or boolean isBar()).
It turns out that autoannotation.vm was depending on the old behaviour, so fix that.
Internal change: 244364373
|
|
|
|
|
|
Add <licenses> clause to pom.xml.
|
|
|
|
Sync with Google-internal copy.
|
|
|
|
|
|
This is forked from the code built in to AutoValue, with the following non-trivial changes:
(1) Package changed from com.google.auto.value.processor.escapevelocity to com.google.escapevelocity.
(2) New pom.xml.
(3) Code rewritten to remove Guava dependency, so no shading or diamond dependency problems.
|