Description: This sample explores two approaches to parsing XML, focusing on performance with respect to speed, memory footprint, and user experience. The XML data used is the current "Top 300" songs from the iTunes store. The data itself is not particularly important to the sample- it was chosen because of its simplicity, availability, and because the size (approximately 850KB) is sufficient to demonstrate the performance issues central to the sample.
To Search:
File list (Check if you may need any files):
XMLPerformance
..............\.DS_Store
__MACOSX
........\XMLPerformance
........\..............\._.DS_Store
XMLPerformance\Classes
..............\.......\AppDelegate.h
__MACOSX\XMLPerformance\Classes
........\..............\.......\._AppDelegate.h
XMLPerformance\Classes\AppDelegate.m
__MACOSX\XMLPerformance\Classes\._AppDelegate.m
XMLPerformance\Classes\CocoaXMLParser.h
__MACOSX\XMLPerformance\Classes\._CocoaXMLParser.h
XMLPerformance\Classes\CocoaXMLParser.m
__MACOSX\XMLPerformance\Classes\._CocoaXMLParser.m
XMLPerformance\Classes\DetailController.h
__MACOSX\XMLPerformance\Classes\._DetailController.h
XMLPerformance\Classes\DetailController.m
__MACOSX\XMLPerformance\Classes\._DetailController.m
XMLPerformance\Classes\GDataXMLParser.h
__MACOSX\XMLPerformance\Classes\._GDataXMLParser.h
XMLPerformance\Classes\GDataXMLParser.m
__MACOSX\XMLPerformance\Classes\._GDataXMLParser.m
XMLPerformance\Classes\iTunesRSSParser.h
__MACOSX\XMLPerformance\Classes\._iTunesRSSParser.h
XMLPerformance\Classes\iTunesRSSParser.m
__MACOSX\XMLPerformance\Classes\._iTunesRSSParser.m
XMLPerformance\Classes\KissXMLParser.h
__MACOSX\XMLPerformance\Classes\._KissXMLParser.h
XMLPerformance\Classes\KissXMLParser.m
__MACOSX\XMLPerformance\Classes\._KissXMLParser.m
XMLPerformance\Classes\LibXMLDOMParser.h
__MACOSX\XMLPerformance\Classes\._LibXMLDOMParser.h
XMLPerformance\Classes\LibXMLDOMParser.m
__MACOSX\XMLPerformance\Classes\._LibXMLDOMParser.m
XMLPerformance\Classes\LibXMLParser.h
__MACOSX\XMLPerformance\Classes\._LibXMLParser.h
XMLPerformance\Classes\LibXMLParser.m
__MACOSX\XMLPerformance\Classes\._LibXMLParser.m
XMLPerformance\Classes\ParserChoiceViewController.h
__MACOSX\XMLPerformance\Classes\._ParserChoiceViewController.h
XMLPerformance\Classes\ParserChoiceViewController.m
__MACOSX\XMLPerformance\Classes\._ParserChoiceViewController.m
XMLPerformance\Classes\Song.h
__MACOSX\XMLPerformance\Classes\._Song.h
XMLPerformance\Classes\Song.m
__MACOSX\XMLPerformance\Classes\._Song.m
XMLPerformance\Classes\SongsViewController.h
__MACOSX\XMLPerformance\Classes\._SongsViewController.h
XMLPerformance\Classes\SongsViewController.m
__MACOSX\XMLPerformance\Classes\._SongsViewController.m
XMLPerformance\Classes\Statistics.h
__MACOSX\XMLPerformance\Classes\._Statistics.h
XMLPerformance\Classes\Statistics.m
__MACOSX\XMLPerformance\Classes\._Statistics.m
XMLPerformance\Classes\StatsViewController.h
__MACOSX\XMLPerformance\Classes\._StatsViewController.h
XMLPerformance\Classes\StatsViewController.m
__MACOSX\XMLPerformance\Classes\._StatsViewController.m
XMLPerformance\Classes\TBXMLParser.h
__MACOSX\XMLPerformance\Classes\._TBXMLParser.h
XMLPerformance\Classes\TBXMLParser.m
__MACOSX\XMLPerformance\Classes\._TBXMLParser.m
XMLPerformance\Classes\TinyXMLParser.h
__MACOSX\XMLPerformance\Classes\._TinyXMLParser.h
XMLPerformance\Classes\TinyXMLParser.mm
__MACOSX\XMLPerformance\Classes\._TinyXMLParser.mm
XMLPerformance\Classes\TouchXMLParser.h
__MACOSX\XMLPerformance\Classes\._TouchXMLParser.h
XMLPerformance\Classes\TouchXMLParser.m
__MACOSX\XMLPerformance\Classes\._TouchXMLParser.m
........\..............\._Classes
XMLPerformance\Creation
..............\........\CXMLDocument_CreationExtensions.h
..............\........\CXMLDocument_CreationExtensions.m
..............\........\CXMLNode_CreationExtensions.h
..............\........\CXMLNode_CreationExtensions.m
..............\CXMLDocument.h
..............\CXMLDocument.m
..............\CXMLDocument_PrivateExtensions.h
..............\CXMLDocument_PrivateExtensions.m
..............\CXMLElement.h
..............\CXMLElement.m
..............\CXMLElement_CreationExtensions.h
..............\CXMLElement_CreationExtensions.m
..............\CXMLElement_ElementTreeExtensions.h
..............\CXMLElement_ElementTreeExtensions.m
..............\CXMLNode.h
..............\CXMLNode.m
..............\CXMLNode_PrivateExtensions.h
..............\CXMLNode_PrivateExtensions.m
..............\CXMLNode_XPathExtensions.h
..............\CXMLNode_XPathExtensions.m
..............\DDXML.h
..............\DDXMLDocument.h
..............\DDXMLDocument.m
.......