---
# System prepended metadata

title: EPF6 - Week 19 Updates
tags: [EPF6, Weekly Updates]

---

# EPF6 - Week 19 Updates

## tl;dr

- Benchmarked the performance of newly added functions. ([Report](https://hackmd.io/@junsong/rklAAIdDRel))
- For the rest of the EPF period, I'll focus on 1) preparing a talk at Devconnect and 2) writing a very first draft for proposal to [beacon-APIs](https://github.com/ethereum/beacon-APIs). 

## Details

{%preview https://hackmd.io/@junsong/rklAAIdDRel %}

At [Week 18](https://hackmd.io/@junsong/r1mvLlbAlx), I finished the "coding" tasks and successfully exposed a couple of endpoints that provides SSZ-QL feature. In this week, following Radek's advice, I tried to benchmark the functions that I added for last few months.

The [result](https://hackmd.io/@junsong/rklAAIdDRel#Result) was quite relieving: I found the core function `AnalyzeObject` only takes under **50 microseconds**, and as we need to serialized the full `BeaconState` (which takes around *~150ms*), this seems negligible. This result also closes an issue (Determine to introduce a cache or not: `SszInfo` of `BeaconState` from the current fork.), as calling `AnalyzeObject` isn't a performance bottleneck at this moment. We can just call whenever we want to get a new `SszInfo` instance.

Therefore, I can fully focus on the following tasks until Devconnect:

- Reviewing Nando's work
- Writing a draft for adding these endpoints on [ethereum/beacon-APIs](https://github.com/ethereum/beacon-APIs)
- Preparing the talk at EPF day, Devconnect

I think the second task would be helpful to **advertise** our work to those who are interested in SSZ and Light Client.