Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 94f726707527b9d4d46cb2ff25870c75b0e5c03e
Ticket: 1020491fffffffffffffffffffffffffffffffff
::http::formatQuery takes 5x longer for twice the data
User & Date: nobody on 2004-09-01 15:13:18
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    source:
    package require http
    
    set in [open submit.log r]
    set log [read $in]
    set submission [::http::formatQuery email 
    [email protected] userid 58276954 format DSHIELD tz -
    04:00 log $log Submit submit]
    # set token [::http::geturl 
    http://www.dshield.org/report.php -query $submission]
    # puts [::http::code $token]
    # ::http::cleanup $token
    close $in
    
    email [email protected]
    This program opens a log file and uses HTTP POST to 
    submit to a website. See an example of the log file 
    attached as bug.log. When this program is run with 1250 
    lines in the log, it takes 16 seconds (Pentium M laptop 
    1.3 GHz). If the number of lines is 2500, the program 
    takes 75 seconds to run. Somehow the processing 
    in ::http::formatQuery does not scale well. I am using 
    the ActiveState distro of TCL 8.4.7.0 with HTTP 
    package 2.5.0
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to:
    ::http::formatQuery takes 5x longer for twice the data
    
  11. type changed to: "Bug"