@ 2014-08-08T14:20:40Z <?php
$txt = "resultCode:NoOp
errorMessage:null
processMessage:2014-08-08 02:18:01:659 INFO begin appName=ixp_app
appVersion=2012_11_v01 integrationCode= clientId=999999 userName=autosuggest1
docId=12963337 docType=RFQ recipientId=58992 encodingTypeCode=UTF-8
2014-08-08 02:18:01:659 DEBUG Opening connection to the database
2014-08-08 02:18:01:660 DEBUG Validating client's account
2014-08-08 02:18:01:668 DEBUG Reading original document details from database
2014-08-08 02:18:01:668 DEBUG Reading Header from Database
2014-08-08 02:18:01:671 DEBUG Reading Line Items from Database
2014-08-08 02:18:01:673 DEBUG Reading Party Contacts from Database
2014-08-08 02:18:01:675 DEBUG Constructing Interchange
2014-08-08 02:18:01:675 DEBUG Constructing Request For Quote
2014-08-08 02:18:01:678 DEBUG Constructing Dates
2014-08-08 02:18:01:678 DEBUG Constructing References
2014-08-08 02:18:01:678 DEBUG Constructing Comments
2014-08-08 02:18:01:679 DEBUG Constructing Parties
2014-08-08 02:18:01:679 DEBUG Constructing Line Items
2014-08-08 02:18:01:680 DEBUG Saving original document content to file - raw
2014-08-08 02:18:01:705 INFO Found 1 possible RFQ matches with a Reference No.:
14/440 that was forwarded by Match Buyer 11107 to Supplier 58992
2014-08-08 02:18:01:705 INFO RFQ with Internal Ref No.: 12884046
2014-08-08 02:18:01:706 INFO RFQ 12963337 will now be compared with the list of
possible RFQ matches
2014-08-08 02:18:01:706 INFO Comparing RFQ 12963337 with RFQ 12884046
2014-08-08 02:18:01:706 DEBUG Reading Header from Database
2014-08-08 02:18:01:708 DEBUG Reading Line Items from Database
2014-08-08 02:18:01:720 DEBUG Reading Party Contacts from Database
2014-08-08 02:18:01:727 DEBUG Constructing Interchange
2014-08-08 02:18:01:728 DEBUG Constructing Request For Quote
2014-08-08 02:18:01:730 DEBUG Constructing Dates
2014-08-08 02:18:01:730 DEBUG Constructing References
2014-08-08 02:18:01:731 DEBUG Constructing Comments
2014-08-08 02:18:01:731 DEBUG Constructing Parties
2014-08-08 02:18:01:732 DEBUG Constructing Line Items
2014-08-08 02:18:01:733 DEBUG Doc Changed on
//Interchange/RequestForQuote/LineItem/@Description
2014-08-08 02:18:01:733 DEBUG Electric motor, Vertical mounted, Type- 4AP
71-45, 3phase, 440 Volts, 60 Hz, 0.29 KW, 0.8 Amp & 1656 RPM, Fan Motor,
3-phase, 440Volts, 0.8 Amp, 60 Hz, 0.29KW & RPM-1656 not equal to 2/2 way
solenoid valve- servo assisted for emergency fire pump, Maker: Burkert, Details:
5281 A 13.0 NBR, MS, G 1/2, PNO 0.2 - 16 bar, 230 V, 50-60 Hz8 W, G 1/2, PNO
0.2-16 Bar
2014-08-08 02:18:01:733 DEBUG Committing database transaction
2014-08-08 02:18:01:733 DEBUG Closing connection to the database
2014-08-08 02:18:01:734 INFO end status=NOOP
filename=999999_20140808021801_f90e96c9 elapsed=74ms
fileContents:null
";
$lines = explode(PHP_EOL, $txt);
$userMessages= array();
foreach ($lines as $line) {
//print $line . PHP_EOL . '---------' . PHP_EOL;
// regexp is 'timestamp debug_level message'
if (!preg_match(
'/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}:\d{3} \w+ (.*)$/', $line, $matches
)) {
// top lines with no timestamp, safe to skip them
continue;
}
$message = $matches[1];
$words = explode(' ', $message);
if (empty($words)) {
// single words are also skipped
continue;
}
if (in_array(strtolower($words[0]), array(
'opening',
'validating',
'reading',
'constructing',
'saving',
'found',
'rfq',
'comparing',
'committing',
'closing',
'end'
))) {
// skip know technical message
continue;
}
$userMessages[] = $message; }
}
print_r($userMessages);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.4.31 0.005 0.041 12.50 5.4.30 0.007 0.035 12.51 5.4.29 0.006 0.040 12.50 5.4.28 0.005 0.036 12.40 5.4.27 0.006 0.036 12.40 5.4.26 0.008 0.035 12.40 5.4.25 0.007 0.035 12.40 5.4.24 0.008 0.035 12.40 5.4.23 0.006 0.043 12.39 5.4.22 0.007 0.037 12.39 5.4.21 0.005 0.036 12.39 5.4.20 0.004 0.043 12.39 5.4.19 0.007 0.037 12.39 5.4.18 0.010 0.036 12.39 5.4.17 0.006 0.035 12.39 5.4.16 0.006 0.037 12.39 5.4.15 0.009 0.033 12.39 5.4.14 0.008 0.035 12.07 5.4.13 0.008 0.034 12.05 5.4.12 0.007 0.035 12.02 5.4.11 0.005 0.036 12.02 5.4.10 0.009 0.032 12.02 5.4.9 0.006 0.037 12.02 5.4.8 0.008 0.034 12.02 5.4.7 0.004 0.038 12.02 5.4.6 0.006 0.036 12.02 5.4.5 0.003 0.040 12.01 5.4.4 0.007 0.033 12.00 5.4.3 0.006 0.035 12.00 5.4.2 0.004 0.037 12.00 5.4.1 0.003 0.037 12.00 5.4.0 0.008 0.034 11.49 5.3.28 0.008 0.034 12.71 5.3.27 0.007 0.045 12.72 5.3.26 0.009 0.037 12.72 5.3.25 0.009 0.035 12.72 5.3.24 0.005 0.039 12.72 5.3.23 0.005 0.038 12.71 5.3.22 0.005 0.038 12.68 5.3.21 0.005 0.040 12.68 5.3.20 0.004 0.039 12.68 5.3.19 0.005 0.039 12.68 5.3.18 0.003 0.041 12.68 5.3.17 0.007 0.036 12.67 5.3.16 0.007 0.035 12.67 5.3.15 0.007 0.035 12.67 5.3.14 0.003 0.039 12.66 5.3.13 0.005 0.040 12.66 5.3.12 0.006 0.038 12.65 5.3.11 0.007 0.038 12.65 5.3.10 0.005 0.037 12.11 5.3.9 0.007 0.035 12.08 5.3.8 0.004 0.041 12.07 5.3.7 0.007 0.036 12.07 5.3.6 0.005 0.037 12.06 5.3.5 0.007 0.035 12.00 5.3.4 0.005 0.037 12.00 5.3.3 0.006 0.035 11.96 5.3.2 0.008 0.033 11.73 5.3.1 0.007 0.032 11.70 5.3.0 0.007 0.042 11.69 5.2.17 0.007 0.027 9.20 5.2.16 0.007 0.038 9.20 5.2.15 0.002 0.032 9.19 5.2.14 0.004 0.035 9.19 5.2.13 0.007 0.033 9.15 5.2.12 0.004 0.031 9.15 5.2.11 0.005 0.030 9.16 5.2.10 0.005 0.026 9.16 5.2.9 0.003 0.032 9.15 5.2.8 0.004 0.030 9.15 5.2.7 0.005 0.037 9.15 5.2.6 0.003 0.032 9.10 5.2.5 0.005 0.030 9.07 5.2.4 0.005 0.031 9.05 5.2.3 0.007 0.028 9.02 5.2.2 0.003 0.035 9.02 5.2.1 0.003 0.029 8.93 5.2.0 0.003 0.032 8.79 5.1.6 0.006 0.030 8.08 5.1.5 0.005 0.023 8.07 5.1.4 0.003 0.026 8.06 5.1.3 0.006 0.023 8.41 5.1.2 0.006 0.024 8.43 5.1.1 0.004 0.025 8.16 5.1.0 0.005 0.026 8.15 5.0.5 0.003 0.020 6.64 5.0.4 0.003 0.021 6.50 5.0.3 0.004 0.037 6.32 5.0.2 0.003 0.019 6.28 5.0.1 0.004 0.029 6.26 5.0.0 0.008 0.031 6.25 4.4.9 0.002 0.016 4.78 4.4.8 0.002 0.016 4.75 4.4.7 0.004 0.014 4.76 4.4.6 0.004 0.015 4.76 4.4.5 0.004 0.014 4.77 4.4.4 0.005 0.027 4.71 4.4.3 0.002 0.018 4.76 4.4.2 0.003 0.017 4.84 4.4.1 0.003 0.017 4.85 4.4.0 0.001 0.027 4.76 4.3.11 0.004 0.014 4.67 4.3.10 0.002 0.015 4.66 4.3.9 0.003 0.014 4.64 4.3.8 0.002 0.025 4.58 4.3.7 0.003 0.013 4.63 4.3.6 0.001 0.016 4.63 4.3.5 0.003 0.016 4.62 4.3.4 0.002 0.032 4.54 4.3.3 0.001 0.017 3.30 4.3.2 0.001 0.017 3.28 4.3.1 0.001 0.017 3.24 4.3.0 0.007 0.020 7.34
preferences:dark mode live preview
137.23 ms | 1394 KiB | 7 Q