[
https://issues.apache.org/jira/browse/PIG-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Travis Woodruff updated PIG-3654:
---------------------------------
Attachment: PIG-3654.patch
Patch with class cache and test. This patch has the cache enabled by default.
Result of perf test on my machine (5000 lookups of the same class), values in
ms:
Cache Disabled: 1247
Cache Enabled: 8
> Add class cache to PigContext
> -----------------------------
>
> Key: PIG-3654
> URL: https://issues.apache.org/jira/browse/PIG-3654
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.12.0
> Reporter: Travis Woodruff
> Priority: Minor
> Attachments: PIG-3654.patch
>
>
> While benchmarking compile time for a large scripts, I noticed that class
> lookups for UDFs accounted for a significant amount of time. Adding a simple
> cache for looked up classes would speed up compile time noticeably.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)