Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: Release 1.4
-
Fix Version/s: Release 1.5
-
Component/s: None
-
Labels:
-
Environment:Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
-
Patch:Code
-
Approval:Ok
Description
It seems there is a 30-40% performance degradation of PersistentHashMap.valAt(...) in Clojure 1.4.
Possibly due to references to new CPU-hungry implementation of Util.hasheq(...).
I have created a demo project with more details and some profiling information here:
https://github.com/oshyshko/clj-perf
Attachments
Activity
Christophe Grand
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | caching-hasheq.diff [ 11714 ] |
Christophe Grand
made changes -
| Patch | Code [ 10001 ] |
Christophe Grand
made changes -
| Assignee | Christophe Grand [ cgrand ] |
Rich Hickey
made changes -
| Approval | Vetted [ 10003 ] | |
| Fix Version/s | Release 1.5 [ 10150 ] |
Timothy Baldridge
made changes -
| Assignee | Christophe Grand [ cgrand ] | Timothy Baldridge [ halgari ] |
Timothy Baldridge
made changes -
| Approval | Vetted [ 10003 ] | Incomplete [ 10006 ] |
Christophe Grand
made changes -
| Attachment | caching-hasheq-v2.diff [ 11737 ] |
Christophe Grand
made changes -
| Attachment | caching-hasheq-v3.diff [ 11743 ] |
Christophe Grand
made changes -
| Attachment | caching-hasheq-v2.diff [ 11737 ] |
Christophe Grand
made changes -
| Attachment | caching-hasheq.diff [ 11714 ] |
Timothy Baldridge
made changes -
| Approval | Incomplete [ 10006 ] | Screened [ 10004 ] |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Ok [ 10007 ] |
Rich Hickey
made changes -
| Resolution | Completed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Stuart Halloway
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |