Comments (7)
Do we have some predefined quick performance tests?
Something that runs within a minute, just to get a hint to whether an optimization has the desired effect.
from anti-xml.
The best performance test to run would be test-perf shallowSelectSmall
(from the SBT shell). Unfortunately, this test takes a really long time right now because a single shallow select operation on a 7 MB tree requires two and a half minutes (and the test is run about a dozen times). So, that's a little long. However, if the performance were better, the test would complete quite quickly (on the master branch, I believe it only takes a few seconds).
from anti-xml.
Blind optimizations FTW!
from anti-xml.
I'm terribly sorry! :-) It would be pretty easy to just whip up a new performance test with a smaller tree, something that runs a little more quickly. Alternatively, the performance is so dramatically slow right now that you can probably just check timing in the REPL and see differences.
from anti-xml.
Of course, there's always the tried and true method of "break into the debugger and see what's on the call stack". When the performance is really out of whack, chances are you will break into the bottleneck :-)
from anti-xml.
With the very latest changes from ncreep, the performance is good enough that I wouldn't consider it a blocker any longer. It could still stand some improvement, but I would feel comfortable cutting a release without further improvement.
from anti-xml.
With the latest changes from ncreep, I think we can consider this closed!
from anti-xml.
Related Issues (20)
- Zipper unselection benchmark HOT 7
- Zipper NodeMergeStrategy Should Be Parameter on unselect HOT 1
- Merge strategies should be presented with all of a node's replacements. HOT 1
- Stack Overflow when loading files HOT 1
- anti-xml_2.8.2-0.2 HOT 1
- please update documentation HOT 1
- XML.fromString(xmlString) throws StackOverflowException HOT 3
- Improve support for URI parts in namespaces HOT 8
- Prefix handling is wrong HOT 2
- Update TODO list HOT 1
- Zipper issue replacing nested element
- Zipper issue replacing nested element with ancestor element of same name HOT 2
- Stack Overflow when parsing HTML HOT 1
- Pretty-printing? HOT 3
- Anti-XML and xhtml and empty tags HOT 1
- asInstanceOf in LinkedOrderPreservingMap throws ClassCastException
- Zipper[T].unselect has unnecessarily restrictive return type
- Elem#copy can introduce invalid characters to names/attributes/prefixes
- anti-xml for Scala 2.10 HOT 10
- just an FYI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anti-xml.