Blogs / Scott Sanders :: blog

Scott Sanders :: blog View thumbnail

View all »

Latest posts

  1. Comments working again

    http://dotnot.org/blog/archives/2008/03/14/comments-working-again/

    I had forgotten to re-enable the comments posting script when I started posting again regularly. If anyone has tried to comment and not been able to, I do apologize, it should be working now. …

    55 days ago
  2. Why is D/Tango so fast at parsing XML?

    http://dotnot.org/blog/archives/2008/03/12/why-is-dtango-so-fast-at-parsing-xml/

    I have been getting questions concerning the performance of Tango in the XML benchmarks I have been running, with people wondering how something that is not C/C++ could be so fast. “They must be cheating!” This post intends to explain how D, and subsequently Tango, can perform so well, even against C/C++. …

    57 days ago
  3. XML Benchmarks - Parse/Query/Mutate/Serialize

    http://dotnot.org/blog/archives/2008/03/10/xml-benchmarks-parsequerymutateserialize/

    I created a benchmark similar to the one that VTD-XML uses. Basically, since most xml processing is mutation, this benchmark parses an input xml file, executes various xpaths on the file, modifying the document in 2 instances, and then serializes the new document. …

    59 days ago
View all »

28 blog reactions

  1. Photo of rsms

    HUNCH

    http://hunch.se

    Scott Sanders :: blog benchmark code d programming source:del.icio.us tango type:link xml

    28 days ago in HUNCH by rsms · Authority: 4
  2. Author unknown

    後で読む

    http://d.hatena.ne.jp/c-yan3/20080316#1205677510

    Invariant Strings (dobbscodetalk.com) Common characteristics of failed open-sourced projects (ariya.blogspot.com) Fixnums in the JVM (blogs.sun.com) Dynamic programming and sequence alignment (ibm.com) Why is D/Tango so fast at parsing XML? (dotnot.org) Why I No Longer Like or Use C++ (prophipsi.blogspot.com) A modest proposal: C++ ”resyntaxed” (csse.monash.edu.au) Python: Debugging techniques for WSGI applications. (code.google.com) Generating JVM bytecode (elliotth.blogspot.com)

    54 days ago in c-yan3の日記 · No authority yet
  3. Author unknown

    XML Benchmarks - Parse/Query/Mutate/Serialize

    http://dotnot.org/blog/archives/2008/03/10/xml-benchmarks-pa...

    have xpath or xpath-like support, if you know of another one, please submit me some code, and I will be happy to run and aggregate the results): DOM4J - TransformDOM4J.java Java6 DOM - TransformDOM.java VTD-XML - TransformVTD.java Tango Document - transformtango.d After the run, I take the average cycle time, and turn that into the followin graph showing cycles per second. blog.xml is 1.3MB, so you can multiply these numbers by 1.3 to get the Megabytes per second number for each tool.

  4. Author unknown

    XML Benchmarks - RapidXml

    http://dotnot.org/blog/archives/2008/03/09/xml-benchmarks-ra...

    test. RapidXml is written in highly-tuned C++, and does give Tango a run for the money. I am really glad we are starting to add some non-Java alternatives, so we can see what native code can do. Without further ado, the code is bench_rapidxml.cpp, which was compiled via: g++ bench_rapidxml.cpp -O2 -o bencn Results for hamlet.xml: stonecobra@jeff-home:~/xmlbench$ vi bench_rapidxml.cpp stonecobra@jeff-home:~/xmlbench$ g++ bench_rapidxml.cpp -O2 -o bench stonecobra@jeff-home:~/xmlbench$ ./bench

  5. Author unknown

    Tango XML - Querying the weather in London

    http://auto-ua.biz/2008/03/07/tango-xml-querying-the-weather...

    Scott Sanders wrote an interesting post today on Here’s a quick excerpt I was helping someone on IRC in #d.tango try to use tango.text.xml to parse and display data from an xml document. We ended up building a simple example using HttpGet to get the document,

    63 days ago in Auto News · No authority yet
  6. Author unknown

    XML Benchmarks - Tango SaxParser

    http://auto-ua.biz/2008/03/07/xml-benchmarks-tango-saxparser...

    Scott Sanders wrote an interesting post today on Here’s a quick excerpt Next is Tango’s SaxParser, a SAX API layered on top of PullParser for the D Programming Language. It passes parsing events through to a handler, push-style. I used the current SVN HEAD of

    63 days ago in Auto News · No authority yet
  7. Author unknown

    Auto News

    http://auto-ua.biz

    Scott Sanders wrote an interesting post today on Here’s a quick excerpt Next is Tango’s SaxParser, a SAX API layered on top of PullParser for the D Programming Language. It passes parsing events through to a handler, push-style. I used the current SVN HEAD of

    65 days ago in Auto News · No authority yet
  8. Author unknown

    XML Benchmarks - Updated graphs

    http://dotnot.org/blog/archives/2008/03/04/xml-benchmarks-up...

    From my mistaken typing in the aalto benchmark, I accidentally benchmarked the default Java6 StaX parser, so this graph changes the axis to allow more players, and adds the real Aalto numbers. Click to view the graphs in full size.

  9. Author unknown

    XML Benchmarks - Introduction

    http://dotnot.org/blog/archives/2008/02/23/xml-benchmarks-in...

    Thinkpad T60p with 2.0Ghz Intel T2500 CPU, 2GB RAM, and a fairly slow hard drive. All of my tests will cache the document to be parsed in memory to try and elminate the hard drive as a potential bottleneck. Next up, the files. I will be starting with hamlet.xml

  10. Author unknown

    WordPress › Installation

    http://www.flacknhack.com

    Dennis Howlett - AccMan Pro developerWorks : SOA and Web services : Technical library - The latest content from IBM developerWorks developerWorks : SOA and Web services : Technical library Dion Hinchcliffe’s Web 2.0 Blog dotnot - musings of an ****ware junkie dotnot - musings of an ****ware junkie Drew B’s take on tech PR - Tech PR blog - Inside opinion on the media, news, and technology pr Drew B’s take on tech PR - Tech PR blog - Inside opinion on the media, news, and

Top Tags

What this blog is about

  1. d programming language
  2. life
  3. projects
  4. software