Skip to content

Latest commit

 

History

History
 
 

packages

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Packages

Applications

  • PDS: The Personal Data Server (PDS). This is ATP's main server-side implementation.
  • Dev Env: A command-line application for developers to construct and manage development environments.
  • Lexicon CLI: A command-line application for generating code and documentation from Lexicon schemas.

Libraries

  • API: A library for communicating with ATP servers.
  • Common: A library containing code which is shared between ATP packages.
  • Crypto: ATP's common cryptographic operations.
  • DID Resolver: A library for resolving ATP's Decentralized ID methods.
  • Lexicon: A library for validating data using ATP's schema system.
  • NSID: A parser and generator of NSIDs.
  • Repo: The "ATP repository" core implementation (a Merkle Search Tree).
  • URI: A parser and generator of at:// uris.
  • XRPC: An XRPC client implementation.
  • XRPC Server: An XRPC server implementation.

Benchmarking and profiling

Only applicable to packages which contain benchmarks(jest.bench.config.js).

You can run benchmarks with yarn bench.

Attaching a profiler

Running yarn bench:profile will launch bench with --inspect-brk flag. Execution will be paused until a debugger is attached, you can read more about node debuggers here

An easy way to profile is:

  1. open about://inspect in chrome
  2. select which process to connect to(there will probably only be one)
  3. go to performance tab
  4. press record, this will unpause execution
  5. wait for the benches to run
  6. finish recording