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
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "None"
- title changed to:
::http::formatQuery takes 5x longer for twice the data
- type changed to: "Bug"