<commit_before>package water.api;

import water.Func;
import water.H2O;
import water.Iced;
import water.Request2;
import water.fvec.Frame;
import water.fvec.Vec;
import water.util.Log;
import water.util.ProfileCollectorTask;

import java.text.DateFormat;
import java.util.Collections;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;

public class JProfile extends Func {
  static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields
  static public DocGen.FieldDoc[] DOC_FIELDS; // Initialized from Auto-Gen code.

  // This Request supports the HTML 'GET' command, and this is the help text
  // for GET.
  static final String DOC_GET = "Displays profile dumps from all nodes.";

  @API(help="Stack trace depth", required=true, filter=Default.class, json=true)
  public int depth = 5;

  @API(help="This node's name")
  public String node_name;

  @API(help="The cloud's name")
  public String cloud_name;

  @API(help="Current time")
  public String time;


  public static class ProfileSummary extends Iced {
    static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields
    static public DocGen.FieldDoc[] DOC_FIELDS; // Initialized from Auto-Gen code.
    public ProfileSummary( String name, ProfileCollectorTask.NodeProfile profile) { this.name  = name; this.profile= profile; }
    @API(help="Node name")    final String name;
    @API(help="Profile") final ProfileCollectorTask.NodeProfile profile;
  }
  @API(help="Array of Profiles, one per Node in the Cluster")
  public ProfileSummary nodes[];
<commit_msg>Raise default stack trace depth for Profiler to 10.<commit_after>package water.api;

import water.Func;
import water.H2O;
import water.Iced;
import water.Request2;
import water.fvec.Frame;
import water.fvec.Vec;
import water.util.Log;
import water.util.ProfileCollectorTask;

import java.text.DateFormat;
import java.util.Collections;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;

public class JProfile extends Func {
  static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields
  static public DocGen.FieldDoc[] DOC_FIELDS; // Initialized from Auto-Gen code.

  // This Request supports the HTML 'GET' command, and this is the help text
  // for GET.
  static final String DOC_GET = "Displays profile dumps from all nodes.";

  @API(help="Stack trace depth", required=true, filter=Default.class, json=true)
  public int depth = 10;

  @API(help="This node's name")
  public String node_name;

  @API(help="The cloud's name")
  public String cloud_name;

  @API(help="Current time")
  public String time;


  public static class ProfileSummary extends Iced {
    static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields
    static public DocGen.FieldDoc[] DOC_FIELDS; // Initialized from Auto-Gen code.
    public ProfileSummary( String name, ProfileCollectorTask.NodeProfile profile) { this.name  = name; this.profile= profile; }
    @API(help="Node name")    final String name;
    @API(help="Profile") final ProfileCollectorTask.NodeProfile profile;
  }
  @API(help="Array of Profiles, one per Node in the Cluster")
  public ProfileSummary nodes[];

{'fraction_non_alphanumeric': 0.10115878484184153, 'fraction_numerical': 0.004071406201064829, 'mean_word_length': 4.34113712374582, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4723738', 'n_tokens_mistral': 990, 'n_tokens_neox': 959, 'n_words': 328}