473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

timing statistics for stl containers

hi,
does any one know a place to get performance statistics for stl
containers?

CMOS

May 21 '07 #1
4 1648
On 5ÔÂ21ÈÕ, ÏÂÎç3ʱ39·Ö, CMOS <manu...@millenniumit..comwrote:
hi,
does any one know a place to get performance statistics for stl
containers?

CMOS
I don't know!

May 21 '07 #2
CMOS wrote:
hi,
does any one know a place to get performance statistics for stl
containers?
Your profiler.

--
Ian Collins.
May 21 '07 #3
On 21 Maj, 09:39, CMOS <manu...@millenniumit.comwrote:
hi,
does any one know a place to get performance statistics for stl
containers?
What for? Synthetic benchmarks are often close to useless in realworld
applications (except for the most trivial cases). Select the
containers you need based on the functionality they offer, if you then
get problems with performance use a profiler to locate the bottlenecks
and then start figuring out how to improve.

If you are clever and know the usage-patterns of your code there's
always a possibility to write smart code that maximizes performance
but often it will not give any noticeable difference for the user and
in return it will usually give you unmaintainable code.

--
Erik Wikström

May 21 '07 #4
CMOS wrote:
hi,
does any one know a place to get performance statistics for stl
containers?

CMOS
The standard specifies complexity guarantees on many of the non-trivial
operations. You can usually browse the library implementations if you
locate the correct include directories on your system. If you need real
world numbers measured in seconds, you'll almost certainly have to
measure these yourself.
May 22 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Felix | last post by:
Dear Sql Server experts: First off, I am no sql server expert :) A few months ago I put a database into a production environment. Recently, It was brought to my attention that a particular...
5
by: KevinGPO | last post by:
Two quick queries: 1. I have programmed a little network performance monitor. It monitors a set of remote hosts over a network. It gets the CPU statistics and all gets collected at one of the...
3
by: Metal Dave | last post by:
Hello, A script we run against the database as part of the upgrade of our product is failing with the following message: ALTER TABLE ALTER COLUMN EncodedID failed because STATISTICS hind_61_3...
10
by: Greg Stark | last post by:
This query is odd, it seems to be taking over a second according to my log_duration logs and according to psql's \timing numbers. However explain analyze says it's running in about a third of a...
1
by: Eugene | last post by:
Is there a way to capture I/O statistics per tablespace container? Or, as long as DB2 normaly stripes/rebalances data pages across containers, the number of physical reads and/or writes from a...
3
by: John Walker | last post by:
Hi, I am using a popup window in my application and the problem I'm having is that even though I tell it to display before a while loop, it only displays after the while loop completes. Please...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
5
by: Allan Ebdrup | last post by:
Hi We have a large class library of different classes, now we are going to implement a lot of usage statistics that we need, stuff like how many times a user has logged in, how many times a...
0
ADezii
by: ADezii | last post by:
In last week's Tip, I showed you how to use the ISAMStats Method of the DBEngine (DAO) to return vital statistics concerning Query executions such as: Disk Reads and Writes, Cache Reads and Writes,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.