Bug 188977 - python runs too slow on Fedora 5
Summary: python runs too slow on Fedora 5
Keywords:
Status: CLOSED DUPLICATE of bug 188327
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: 5
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-14 05:35 UTC by njlegend
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-04-26 17:00:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description njlegend 2006-04-14 05:35:52 UTC
Description of problem:
when I use python to write 30M data to disk,it take's about 1 minute to finish
running,
but when I run it on redhat9, it take's only 5 seconds to finish running.
I think something is wrong with python on Fedora



Version-Release number of selected component (if applicable):
On Fedora,python is:
Python 2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
Type "help", "copyright", "credits" or "license" for more information.



How reproducible:
#b.py
import os,sys,time

f = open('a.txt','a+')
for i in range(2000000) :
  f.write('That is ' + str(i) + '\n')
f.close()


Steps to Reproduce:
1. time    python    b.py

2.
3.
  
Actual results:
On Fedora,
7.808u 3.056s 0:53.09 20.4%     0+0k 0+0io 9910pf+0w


Expected results:
On Redhat9
4.824u 0.180s 0:04.99 100.2%    0+0k 0+0io 0pf+0w


Additional info:

Comment 1 Jeremy Katz 2006-04-26 17:00:54 UTC

*** This bug has been marked as a duplicate of 188327 ***


Note You need to log in before you can comment on or make changes to this bug.