X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2868AD8ED6 for ; Fri, 4 Nov 2005 14:30:27 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14425-04 for ; Fri, 4 Nov 2005 18:30:24 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 73186D8032 for ; Fri, 4 Nov 2005 14:30:24 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id C08E831059; Fri, 4 Nov 2005 19:30:24 +0100 (MET) From: "Qingqing Zhou" X-Newsgroups: pgsql.performance Subject: Re: insert performance for win32 Date: Fri, 4 Nov 2005 13:30:34 -0500 Organization: Hub.Org Networking Services Lines: 31 Message-ID: References: <6EE64EF3AB31D5448D0007DD34EEB3417DD7CE@Herge.rcsinc.local> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.558 required=5 tests=[AWL=0.558] X-Spam-Score: 0.558 X-Spam-Level: X-Archive-Number: 200511/93 X-Sequence-Number: 15350 ""Merlin Moncure"" wrote > ok, here is gprof output from newlines/no newlines > [newlines] > % cumulative self self total > time seconds seconds calls s/call s/call name > 19.03 0.67 0.67 1 0.67 3.20 MainLoop > 17.61 1.29 0.62 500031 0.00 0.00 yylex > 15.63 1.84 0.55 1500094 0.00 0.00 GetVariable > 11.08 2.23 0.39 250018 0.00 0.00 SendQuery > 4.26 2.38 0.15 750051 0.00 0.00 GetVariableBool > 3.41 2.50 0.12 250024 0.00 0.00 SetVariable > 2.56 2.59 0.09 250015 0.00 0.00 gets_fromFile > 2.27 2.67 0.08 750044 0.00 0.00 > yy_switch_to_buffer > 2.27 2.75 0.08 500031 0.00 0.00 psql_scan > 2.27 2.83 0.08 pg_strcasecmp > 1.70 2.89 0.06 4250078 0.00 0.00 emit > 1.70 2.95 0.06 500031 0.00 0.00 VariableEquals > 1.70 3.01 0.06 250018 0.00 0.00 AcceptResult > 1.42 3.06 0.05 250018 0.00 0.00 ResetCancelConn > Maybe I missed some threads .... do you think it is interesting to test the *absoulte* time difference of the same machine on Windows/Linux by using timeit.c? I wonder if windows is slower than Linux ... Regards, Qingqing