New topic: 

HTTPSecureSocket speed?

<http://forums.realsoftware.com/viewtopic.php?t=48030>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        jeremy_c          Post subject: HTTPSecureSocket speed?Posted: 
Fri May 31, 2013 11:12 am                                 
Joined: Thu Jul 12, 2007 3:38 pm
Posts: 95
Location: Norton, Ohio                I am calling a webapi and 
HTTPSecureSocket speed seems to be terrible...

s.SetRequestHeader("HEADER_1", "VALUE_1")
s.SetRequestHeader("HEADER_2", "VALUE_2")
Dim mstart As Double = Microseconds
Dim c As String = s.Get("https://url.here";, 1)
Dim mend As Double = Microseconds

TextArea1.Text = "Time: " + Str((mend - mstart) / 1000.0) + "ms, ::: " + c


It reports 370-400ms. Now, from the console I do:

$ time curl --header "HEADER_1: VALUE_1" --header "HEADER_2: VALUE_2" 
https://url.here > output
real 0m0.052s
user 0m0.020s
sys 0m0.000s


So, from RB, I get 370-400ms but via curl 45-55ms. The resulting output is the 
same from the two.

Any thoughts?      
_________________
Jeremy
Real Studio Enterprise, 2012r2.1  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to