Click here to Skip to main content
15,883,854 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Performance woes. I'm appalled. Pin
honey the codewitch27-Dec-20 4:07
mvahoney the codewitch27-Dec-20 4:07 
GeneralRe: Performance woes. I'm appalled. Pin
Jörgen Andersson27-Dec-20 4:13
professionalJörgen Andersson27-Dec-20 4:13 
GeneralRe: Performance woes. I'm appalled. Pin
honey the codewitch27-Dec-20 4:31
mvahoney the codewitch27-Dec-20 4:31 
GeneralRe: Performance woes. I'm appalled. Pin
Jörgen Andersson27-Dec-20 4:51
professionalJörgen Andersson27-Dec-20 4:51 
GeneralRe: Performance woes. I'm appalled. Pin
Gerry Schmitz26-Dec-20 15:19
mveGerry Schmitz26-Dec-20 15:19 
GeneralRe: Performance woes. I'm appalled. Pin
honey the codewitch26-Dec-20 16:49
mvahoney the codewitch26-Dec-20 16:49 
GeneralRe: Performance woes. I'm appalled. Pin
k505427-Dec-20 3:34
mvek505427-Dec-20 3:34 
GeneralRe: Performance woes. I'm appalled. Pin
honey the codewitch27-Dec-20 3:56
mvahoney the codewitch27-Dec-20 3:56 
I'm a dunce. I had my compiler options set wrong. Laugh | :laugh:

This is my latest, somewhat fixed output, but it could be a lot faster. I want utf8 in the GB/s range or at least spitting distance of it on my machine

Approx stack size of local JSON stuff is 176 bytes
Read 1290495 nodes and 20383269 characters in 272.591000 ms at 69.701494MB/s
Skipped 1290495 nodes and 20383269 characters in 118.066000 ms at 160.926939MB/s
utf8 scanned 20383269 characters in 91.398000 ms at 207.882011MB/s
raw ascii i/o 20383269 characters in 57.443000 ms at 330.762669MB/s
raw ascii block i/o 19 blocks in 3.024000 ms at 6283.068783MB/s


I just tried a branchless utf8 decoding routine but it proved to be slower than my original version. However, it's closer to something that could be converted to simd instructions so i'm exploring that more.
Real programmers use butterflies

GeneralRe: Performance woes. I'm appalled. Pin
obermd28-Dec-20 3:45
obermd28-Dec-20 3:45 
GeneralRe: Performance woes. I'm appalled. Pin
honey the codewitch28-Dec-20 3:47
mvahoney the codewitch28-Dec-20 3:47 
GeneralFun with Java Pin
Cp-Coder25-Dec-20 13:09
Cp-Coder25-Dec-20 13:09 
GeneralRe: Fun with Java Pin
Richard MacCutchan25-Dec-20 21:12
mveRichard MacCutchan25-Dec-20 21:12 
GeneralRe: Fun with Java Pin
Amarnath S26-Dec-20 2:17
professionalAmarnath S26-Dec-20 2:17 
GeneralRe: Fun with Java Pin
Mike Hankey26-Dec-20 3:07
mveMike Hankey26-Dec-20 3:07 
GeneralRe: Fun with Java Pin
Gary R. Wheeler26-Dec-20 8:46
Gary R. Wheeler26-Dec-20 8:46 
GeneralRe: Fun with Java Pin
Mike Hankey26-Dec-20 9:01
mveMike Hankey26-Dec-20 9:01 
GeneralRe: Fun with Java Pin
Mycroft Holmes26-Dec-20 11:46
professionalMycroft Holmes26-Dec-20 11:46 
GeneralRe: Fun with Java Pin
F-ES Sitecore26-Dec-20 3:21
professionalF-ES Sitecore26-Dec-20 3:21 
GeneralRe: Fun with Java Pin
Ralf Peter Lucke27-Dec-20 20:27
Ralf Peter Lucke27-Dec-20 20:27 
GeneralRe: Fun with Java Pin
peterkmx26-Dec-20 11:58
professionalpeterkmx26-Dec-20 11:58 
GeneralRe: Fun with Java Pin
Kiriander27-Dec-20 20:19
Kiriander27-Dec-20 20:19 
GeneralRe: Fun with Java Pin
Martin ISDN28-Dec-20 0:33
Martin ISDN28-Dec-20 0:33 
GeneralRe: Fun with Java Pin
Harrison Pratt28-Dec-20 2:51
professionalHarrison Pratt28-Dec-20 2:51 
GeneralRe: Fun with Java Pin
Bruce Patin28-Dec-20 3:26
Bruce Patin28-Dec-20 3:26 
GeneralRe: Fun with Java Pin
Cp-Coder28-Dec-20 11:44
Cp-Coder28-Dec-20 11:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.