|
" LinkedList>>reject: is slow Pharo image: Pharo7.0alpha#71194 Virtual machine used: CoInterpreter VMMaker.oscog-eem.2401 uuid: 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018 StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid: 29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018 VM: 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Thu Jun 28 14:56:30 2018 CommitHash: a8a1dc1 Plugins: 201806281256 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Platform Name: unix Class browser used (if applicable): ClyFullBrowser
Steps to reproduce: #. evaluate { [(LinkedList withAll: (1 to: 10)) reject: [ :each | each even ]] bench. [(LinkedList withAll: (1 to: 100)) reject: [ :each | each even ]] bench. [(LinkedList withAll: (1 to: 1000)) reject: [ :each | each even ]] bench. [(LinkedList withAll: (1 to: 10000)) reject: [ :each | each even ]] bench. }.
Actual Result: #. #('128565.374 per second' '6662.268 per second' '104.275 per second' '1.072 per second') Expected Result: #. better performance. for instance: { [(Array withAll: (1 to: 10)) reject: [ :each | each even ]] bench. [(Array withAll: (1 to: 100)) reject: [ :each | each even ]] bench. [(Array withAll: (1 to: 1000)) reject: [ :each | each even ]] bench. [(Array withAll: (1 to: 10000)) reject: [ :each | each even ]] bench. }.
#('764713.315 per second' '104858.657 per second' '11021.591 per second' '1078.384 per second')
"
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|