[ 
https://issues.apache.org/jira/browse/AVRO-1438?focusedWorklogId=744807&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-744807
 ]

ASF GitHub Bot logged work on AVRO-1438:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Mar/22 02:33
            Start Date: 21/Mar/22 02:33
    Worklog Time Spent: 10m 
      Work Description: KyleSchoonover commented on pull request #1604:
URL: https://github.com/apache/avro/pull/1604#issuecomment-1073426339


   Run against Master.  Realize this is the averages of 10 runs of the perf 
project.
   
   ```
   type impl    action  .Net 6 Avg      .Net 5 Avg      .Net Core 3.1 Avg
   simple       default_specific        serialize       851.4   873.6   1037.6
   simple       default_specific        deserialize     2317.1  2454.7  2637.5
   simple       preresolved_specific    serialize       576.6   629.5   709.3
   simple       preresolved_specific    deserialize     639.1   687.4   847.1
   simple       default_generic serialize       900.1   953.4   1068.6
   simple       default_generic deserialize     2196.9  2282.6  2564.1
   simple       preresolved_generic     serialize       489.2   539.2   609.2
   simple       preresolved_generic     deserialize     895.1   915.5   1182.9
   complex      default_specific        serialize       7063.8  7190.7  8598.4
   complex      default_specific        deserialize     16762.6 17534.4 20399.9
   complex      preresolved_specific    serialize       5159.3  5429.9  6175.1
   complex      preresolved_specific    deserialize     7609.6  8395.1  9604.8
   complex      default_generic serialize       6720.2  7015.6  7895.3
   complex      default_generic deserialize     13140.6 13942.3 15473.5
   complex      preresolved_generic     serialize       4417.2  4970.3  5346.6
   complex      preresolved_generic     deserialize     6300.1  6287.5  7490.7
   narrow       default_specific        serialize       457.6   475     546.8
   narrow       default_specific        deserialize     1233    1243.6  1409.6
   narrow       preresolved_specific    serialize       323.4   322     351.6
   narrow       preresolved_specific    deserialize     395.2   395.3   540.7
   narrow       default_generic serialize       473.6   521.8   598.4
   narrow       default_generic deserialize     1173.2  1218.9  1549.8
   narrow       preresolved_generic     serialize       281.2   295.2   339.1
   narrow       preresolved_generic     deserialize     479.8   490.6   689.2
   wide default_specific        serialize       5209.4  5379.7  6717
   wide default_specific        deserialize     13739.2 14301.4 16419
   wide preresolved_specific    serialize       3745.1  4072    4760.8
   wide preresolved_specific    deserialize     4589.3  4906.4  6351.4
   wide default_generic serialize       4948.3  5198.3  6065.6
   wide default_generic deserialize     12432.9 13159.5 14436.1
   wide preresolved_generic     serialize       2837.4  3092.1  3448.3
   wide preresolved_generic     deserialize     5551.6  5914    7287.5
   ```
   
   Same run, but with updated code, but this will include the percentage change 
against the mast run.
   
   ```
   type impl    action  .Net 6 Avg      % Change        .Net 5 Avg      % 
Change        .Net Core 3.1 Avg       % Change
   simple       default_specific        serialize       953.1   10.67%  940.9   
7.15%   1256.5  17.42%
   simple       default_specific        deserialize     1868.7  -24.00% 1893.6  
-29.63% 2206.2  -19.55%
   simple       preresolved_specific    serialize       596.9   3.40%   676.5   
6.95%   854.5   16.99%
   simple       preresolved_specific    deserialize     681.2   6.18%   725     
5.19%   1003.1  15.55%
   simple       default_generic serialize       943.8   4.63%   1040.8  8.40%   
1175.2  9.07%
   simple       default_generic deserialize     1720.3  -27.70% 1782.7  -28.04% 
2059.3  -24.51%
   simple       preresolved_generic     serialize       529.8   7.66%   579.5   
6.95%   657.6   7.36%
   simple       preresolved_generic     deserialize     940.5   4.83%   1020.6  
10.30%  1326.8  10.85%
   complex      default_specific        serialize       7189.1  1.74%   7848.6  
8.38%   9432.9  8.85%
   complex      default_specific        deserialize     13609.5 -23.17% 15517   
-13.00% 18128.1 -12.53%
   complex      preresolved_specific    serialize       5313.9  2.91%   5904.8  
8.04%   7086    12.85%
   complex      preresolved_specific    deserialize     7828.3  2.79%   9107.8  
7.83%   10529.7 8.78%
   complex      default_generic serialize       6898.4  2.58%   7665.7  8.48%   
8350.1  5.45%
   complex      default_generic deserialize     10679.6 -23.04% 11453.1 -21.73% 
13190.4 -17.31%
   complex      preresolved_generic     serialize       4623.4  4.46%   5196.9  
4.36%   5729.6  6.68%
   complex      preresolved_generic     deserialize     6281.3  -0.30%  6623.5  
5.07%   8136    7.93%
   narrow       default_specific        serialize       454.6   -0.66%  492.1   
3.47%   579.5   5.64%
   narrow       default_specific        deserialize     867.3   -42.17% 950.2   
-30.88% 1079.8  -30.54%
   narrow       preresolved_specific    serialize       307.8   -5.07%  368.7   
12.67%  397     11.44%
   narrow       preresolved_specific    deserialize     378     -4.55%  431.2   
8.33%   550.1   1.71%
   narrow       default_generic serialize       484.4   2.23%   540.6   3.48%   
623.3   3.99%
   narrow       default_generic deserialize     865.8   -35.50% 951.7   -28.08% 
1151.5  -34.59%
   narrow       preresolved_generic     serialize       276.4   -1.74%  332.8   
11.30%  351.5   3.53%
   narrow       preresolved_generic     deserialize     475.1   -0.99%  551.5   
11.04%  748.5   7.92%
   wide default_specific        serialize       5165.6  -0.85%  5954.7  9.66%   
6662.4  -0.82%
   wide default_specific        deserialize     10800   -27.21% 11476.3 -24.62% 
13759.2 -19.33%
   wide preresolved_specific    serialize       4065.5  7.88%   4661.2  12.64%  
5074.9  6.19%
   wide preresolved_specific    deserialize     4831.2  5.01%   5445.2  9.89%   
6486    2.08%
   wide default_generic serialize       5139    3.71%   5996.9  13.32%  5997.1  
-1.14%
   wide default_generic deserialize     9175    -35.51% 10412.8 -26.38% 11568.8 
-24.78%
   wide preresolved_generic     serialize       2987.7  5.03%   3551.1  12.93%  
3976.5  13.28%
   wide preresolved_generic     deserialize     5792.1  4.15%   6469    8.58%   
8153    10.62%
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 744807)
    Time Spent: 1.5h  (was: 1h 20m)

> C# reader performance improvement
> ---------------------------------
>
>                 Key: AVRO-1438
>                 URL: https://issues.apache.org/jira/browse/AVRO-1438
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.7.5
>            Reporter: David Taylor
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: RecordSchema.cs.diff
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> GenericReader/SpecificReader spend a lot of time comparing the reader/writer 
> schema.  Remembering the last good match speeds things up about 15% in my 
> tests using the avro.pref project for timings.  This does not impact the 
> DatumReader implementation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to