Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Benchmarking U++
Re: Benchmarking U++ [message #7099 is a reply to message #7064] Wed, 13 December 2006 22:24 Go to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
Update:

I have tried commenting out parts of benchmark to get timings for separate facilities. I get (MSC71, in ms, 4KB input file, 120 map entries):

C++ standard library, std::map:
stream: 1813
string: 530
map: 1657
sort: 0 (std::map is sorted)

U++ Core:
stream: 578
string: 422
map: 640
sort: 360

Now really surprising is the stream difference. I always thought that reimplementing stream library for U++ is the least tenable wheel-reinventing aspect of the platform. Maybe I was wrong...

I think the problem is those stupid "ascii"/"binary" modes of Windows platform, which disallow really effective inlined gets. OTOH, that was one of primary reasons to reinvent the wheel.

Mirek
 
Read Message
Read Message
Previous Topic: Endian specific source changes, for Universal support.
Next Topic: U++ as web platform
Goto Forum:
  


Current Time: Mon Jun 30 04:47:13 CEST 2025

Total time taken to generate the page: 0.03891 seconds